Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: Story map chapter move #1175

Merged
merged 14 commits into from
Sep 18, 2023
Prev Previous commit
Next Next commit
fix: Fixed sidebar layout
  • Loading branch information
josebui committed Sep 14, 2023
commit c4260a3ba742e38947bd51e836d368efc19ac230
10 changes: 8 additions & 2 deletions src/storyMap/components/StoryMapForm/ChaptersSideBar.js
Original file line number Diff line number Diff line change
@@ -335,7 +335,14 @@ const ChaptersSidebar = props => {
item
component="nav"
aria-label={t('storyMap.form_chapters_sidebar_section_label')}
sx={{ height, overflow: 'auto', width: '200px' }}
sx={{
height,
overflow: 'auto',
width: '200px',
display: 'flex',
alignItems: 'stretch',
flexDirection: 'column',
}}
>
<SideBarItem item={titleItem} />
<DragDropContext
@@ -380,7 +387,6 @@ const ChaptersSidebar = props => {
<Button
onClick={onAdd}
sx={{
width: '100%',
borderRadius: 0,
bgcolor: 'gray.lite1',
m: 1,
Loading