Skip to content

Commit 3cdc839

Browse files
Resize sidebar config to match designs (#1273)
closes RaspberryPiFoundation/digital-editor-issues#984
1 parent 8e13c34 commit 3cdc839

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
1717
- Updated Design System react to v2.6.2 (#1261)
1818
- Changed SidebarPanel to accept an array of buttons (#1270)
1919
- Changed SidebarPanel to use an array of buttons as elements (#1271)
20+
- Changed default-width and min-width on SidebarPanel (#1273)
2021

2122
### Fixed
2223

src/components/Menus/Sidebar/SidebarPanel.jsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ const SidebarPanel = (props) => {
1212
Footer,
1313
className,
1414
buttons = [],
15-
defaultWidth = "225px",
15+
defaultWidth = "320px",
1616
} = props;
1717
const isMobile = useMediaQuery({ query: MOBILE_MEDIA_QUERY });
1818

@@ -51,7 +51,7 @@ const SidebarPanel = (props) => {
5151
defaultWidth={defaultWidth}
5252
defaultHeight="100%"
5353
handleDirection="right"
54-
minWidth="180px"
54+
minWidth="280px"
5555
maxWidth="600px"
5656
>
5757
{panelContent}

0 commit comments

Comments
 (0)