Skip to content

Commit 1996e2b

Browse files
committed
refactor: move flex shrink to be OverflowY concern
1 parent b9f6cb8 commit 1996e2b

File tree

2 files changed

+1
-1
lines changed

2 files changed

+1
-1
lines changed

site/src/components/OverflowY/OverflowY.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@ export function OverflowY({ children, height, maxHeight, sx }: Props) {
2929
height: computedHeight,
3030
maxHeight: computedMaxHeight,
3131
overflowY: "auto",
32+
flexShrink: 1,
3233
...sx,
3334
}}
3435
>

site/src/pages/WorkspacesPage/WorkspacesButton.tsx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -180,7 +180,6 @@ export function WorkspacesButton() {
180180
<OverflowY
181181
maxHeight={380}
182182
sx={{
183-
flexShrink: 1,
184183
display: "flex",
185184
flexFlow: "column nowrap",
186185
paddingY: 1,

0 commit comments

Comments
 (0)