Skip to content

Commit

Permalink
Fine-tuned styling by allowing scrollbar and reviewing switch style i…
Browse files Browse the repository at this point in the history
…n shader control
  • Loading branch information
vhiribarren committed Jan 21, 2024
1 parent af83978 commit ee1d562
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/app/globals.css
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,8 @@ html, body {
height: 100%;
margin: 0;
padding: 0;
}

.mantine-Switch-body {
align-items: center;
}
1 change: 1 addition & 0 deletions src/components/shaders/FragmentView.module.css
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
.drawerRoot {
height: 100%;
overflow: auto;
}

div:has(> .drawerRoot) {
Expand Down
1 change: 1 addition & 0 deletions src/components/shaders/FragmentView.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,7 @@ const THEME_DRAWER_CONTROL = createTheme({
Switch: Switch.extend({
defaultProps: {
size: "xs",
labelPosition: "left",
},
}),
Slider: Slider.extend({
Expand Down

0 comments on commit ee1d562

Please sign in to comment.