Skip to content

Commit 6b8195a

Browse files
committed
docs: Add why we use position static
1 parent f52c007 commit 6b8195a

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

app/configurator/components/drawers.tsx

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,10 @@ export const DRAWER_WIDTH = 340;
99

1010
export const ConfiguratorDrawer = styled(MuiDrawer)(({ theme }) => ({
1111
"&": {
12+
/**
13+
* We use position static otherwise the Drawer is fixed and takes
14+
* the whole screen, blocking screen underneath.
15+
* */
1216
position: "static",
1317
},
1418

0 commit comments

Comments
 (0)