Skip to content

Commit

Permalink
fix: hide horizontal scroll bar if content fits
Browse files Browse the repository at this point in the history
  • Loading branch information
LarsTheGlidingSquirrel committed Nov 19, 2024
1 parent 6c4384f commit 077fa98
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/frontend/Layout.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ export function Layout({ children }: { children: React.ReactNode }) {
backgroundColor: 'white',
// Make horizontal scroll bar appear on small width. Plugin menu, plugin toolbar, ... need some space.
minWidth: '40rem',
overflowX: 'scroll',
overflowX: 'auto',
}}
>
<aside style={{ flexGrow: 1, flexShrink: 1, flexBasis: 0 }}></aside>
Expand Down

0 comments on commit 077fa98

Please sign in to comment.