File tree Expand file tree Collapse file tree 9 files changed +36
-21
lines changed
Expand file tree Collapse file tree 9 files changed +36
-21
lines changed Original file line number Diff line number Diff line change @@ -44,11 +44,23 @@ const App = () => {
4444
4545 return (
4646 < >
47- < LazyFlex class = { styles . app } align = "center" gap = "l" justify = "stretch" >
47+ < LazyFlex
48+ class = { styles . app }
49+ align = "center"
50+ gap = "l"
51+ justify = "stretch"
52+ style = { { flex : 1 } }
53+ >
4854 < Sidebar />
4955
5056 < Show when = { ! showSettings ( ) && currentTheme ( ) } fallback = { < Settings /> } >
51- < LazyFlex direction = "column" gap = "l" align = "center" >
57+ < LazyFlex
58+ direction = "column"
59+ gap = "l"
60+ align = "center"
61+ justify = "center"
62+ style = { { flex : 1 , height : "100%" } }
63+ >
5264 < Select
5365 options = { monitors ( ) }
5466 placeholder = { translate ( "label-select-monitor" ) }
Original file line number Diff line number Diff line change 11import { globalStyle , style } from "@vanilla-extract/css" ;
22import { themeContract , vars } from "fluent-solid/lib/themes" ;
3- import { appVars } from "~/themes/vars.css" ;
43
54export const carousel = style ( {
6- width : appVars . contentWidth ,
75 height : "480px" ,
86 borderRadius : vars . borderRadiusMedium ,
97 display : "flex" ,
Original file line number Diff line number Diff line change @@ -7,16 +7,16 @@ import GithubMirror from "./GithubMirror";
77import ThemesDirectory from "./ThemesDirectory" ;
88import LockScreenWallpaperSwitch from "./LockScreenWallpaperSwitch" ;
99import SettingsFooter from "./Footer" ;
10- import { appVars } from "~/themes/vars.css" ;
1110
1211const Settings = ( ) => {
1312 return (
1413 < LazyFlex
1514 direction = "column"
1615 style = { {
17- width : appVars . contentWidth ,
18- "box-sizing" : "border-box" ,
16+ // width: appVars.contentWidth,
17+ // "box-sizing": "border-box",
1918 height : "100%" ,
19+ flex : 1 ,
2020 } }
2121 align = "stretch"
2222 justify = "stretch"
Original file line number Diff line number Diff line change 11import { style } from "@vanilla-extract/css" ;
22
33export const sidebar = style ( {
4- height : "560px " ,
4+ height : "100vh " ,
55 display : "flex" ,
66 flexDirection : "column" ,
77} ) ;
Original file line number Diff line number Diff line change @@ -16,7 +16,14 @@ const SidebarButtons = () => {
1616 } ;
1717
1818 return (
19- < LazySpace direction = "column" gap = "s" justify = "end" class = { sidebarButtons } >
19+ < LazySpace
20+ direction = "column"
21+ gap = "s"
22+ justify = "end"
23+ paddingBottom = "m"
24+ paddingRight = "10px"
25+ class = { sidebarButtons }
26+ >
2027 < Show when = { updateIsAvailable ( ) } >
2128 < LazyTooltip
2229 positioning = "after"
Original file line number Diff line number Diff line change @@ -5,7 +5,7 @@ import { badge as fluentBadge } from "fluent-solid/lib/components/badge/Badge.cs
55export const menuItemColorShadow = createVar ( ) ;
66
77export const thumbnailsContainer = style ( {
8- flex : "7 " ,
8+ flex : "1 " ,
99 overflowY : "auto" ,
1010 overflowX : "hidden" ,
1111 padding : `${ vars . spacingVerticalMNudge } ${ vars . spacingHorizontalMNudge } ${ vars . spacingVerticalMNudge } ${ vars . spacingHorizontalXL } ` ,
@@ -19,8 +19,8 @@ export const menuItem = style({
1919 } ,
2020 padding : "4px" ,
2121 borderRadius : "5px" ,
22- height : "64px " ,
23- width : "64px " ,
22+ height : "72px " ,
23+ width : "72px " ,
2424 display : "flex" ,
2525 alignItems : "center" ,
2626 position : "relative" ,
Original file line number Diff line number Diff line change @@ -71,7 +71,7 @@ const ThemeMenu = (props: ThemeMenuProps) => {
7171 class = { styles . thumbnailsContainer }
7272 grow = { 7 }
7373 shrink = { 1 }
74- padding = "10px 10px 10px 24px "
74+ padding = "10px"
7575 >
7676 { menu ( ) }
7777 </ LazyFlex >
Original file line number Diff line number Diff line change @@ -28,6 +28,10 @@ globalStyle("*", {
2828 MozUserSelect : "none" ,
2929 WebkitUserSelect : "none" ,
3030 msUserSelect : "none" ,
31+
32+ margin : 0 ,
33+ padding : 0 ,
34+ boxSizing : "border-box" ,
3135} ) ;
3236
3337globalStyle ( "::-webkit-scrollbar" , {
@@ -54,9 +58,8 @@ globalStyle("body", {
5458} ) ;
5559
5660globalStyle ( "#root" , {
61+ display : "flex" ,
62+ padding : `${ vars . spacingHorizontalXS } ${ vars . spacingVerticalL } ${ vars . spacingHorizontalL } ${ vars . spacingHorizontalL } ` ,
5763 height : "100vh" ,
5864 width : "100vw" ,
59- display : "flex" ,
60- flexDirection : "column" ,
61- overflow : "hidden" ,
6265} ) ;
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments