Skip to content

Commit d9a9fb2

Browse files
committed
feat: Update sidebar size to 460px for improved layout consistency
1 parent abf4096 commit d9a9fb2

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/app/views/layout/Layout.tsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ const usePageStyles = makeResetStyles({
4343
});
4444

4545
const useMainWrapperStyles = makeResetStyles({
46-
[SIDEBAR_SIZE_CSS_VAR]: '20%',
46+
[SIDEBAR_SIZE_CSS_VAR]: '460px',
4747
[RESPONSE_AREA_SIZE_CSS_VAR]: '70%',
4848
display: 'grid',
4949
width: '100%',
@@ -55,7 +55,7 @@ const useMainWrapperStyles = makeResetStyles({
5555
"footer footer"
5656
`,
5757
gridTemplateRows: '48px 1fr 48px',
58-
gridTemplateColumns: `clamp(5%, calc(20% + var(${SIDEBAR_SIZE_CSS_VAR})), 80%) 1fr`
58+
gridTemplateColumns: `clamp(60px, var(${SIDEBAR_SIZE_CSS_VAR}), 40%) 1fr`
5959
});
6060
const bannerRow = `${bannerIsVisible ? 'auto' : ''}`;
6161
const useMainAreaWrapperStyles = makeResetStyles({
@@ -156,7 +156,7 @@ const Layout = (props: LayoutProps) => {
156156
});
157157

158158
const resetSidebarArea = () => {
159-
setSidebarColumnSize(40);
159+
setSidebarColumnSize(460);
160160
};
161161

162162
const resetResponseArea = () => {

0 commit comments

Comments
 (0)