diff options
| author | AAGaming <aagaming@riseup.net> | 2024-10-04 23:59:53 -0400 |
|---|---|---|
| committer | AAGaming <aagaming@riseup.net> | 2024-10-11 15:05:15 -0400 |
| commit | 7b32df09487383897927356547f1ba5a73e8cc94 (patch) | |
| tree | 18932621c4d2ac794e5fd1b5cb6968c4554b66e0 /frontend/src/components/settings/index.tsx | |
| parent | 306b0ff8d6206a912478ed1e3d3dbf82b8a85c41 (diff) | |
| download | decky-loader-7b32df09487383897927356547f1ba5a73e8cc94.tar.gz decky-loader-7b32df09487383897927356547f1ba5a73e8cc94.zip | |
Add routerhook for desktop UI and a basic sidebar menu for Decky in desktop UI
Diffstat (limited to 'frontend/src/components/settings/index.tsx')
| -rw-r--r-- | frontend/src/components/settings/index.tsx | 17 |
1 files changed, 16 insertions, 1 deletions
diff --git a/frontend/src/components/settings/index.tsx b/frontend/src/components/settings/index.tsx index d6d98645..cb5096f5 100644 --- a/frontend/src/components/settings/index.tsx +++ b/frontend/src/components/settings/index.tsx @@ -53,5 +53,20 @@ export default function SettingsPage() { }, ]; - return <SidebarNavigation pages={pages} />; + return ( + <div className="deckySettingsHeightHack"> + <style> + {/* hacky fix to work around height: 720px in desktop ui */} + {` + .deckySettingsHeightHack { + height: 100% !important; + } + .deckySettingsHeightHack > div { + height: 100% !important; + } + `} + </style> + <SidebarNavigation pages={pages} /> + </div> + ); } |
