Skip to content

Commit

Permalink
Revert "we have lots of space"
Browse files Browse the repository at this point in the history
This reverts commit 2917ab5.
  • Loading branch information
incognitojam committed Feb 3, 2025
1 parent 0d64016 commit e769802
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/material/Drawer.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ interface DrawerProps {
const Drawer: ParentComponent<DrawerProps> = (props) => {
const dimensions = useDimensions()
const drawerWidth = () => Math.min(dimensions().width - PEEK, 360)
const modal = () => dimensions().width < 840
const modal = () => dimensions().width < 1280
const contentWidth = () => `calc(100% - ${modal() ? 0 : drawerWidth()}px)`

const [open, setOpen] = createSignal(false)
Expand Down

0 comments on commit e769802

Please sign in to comment.