diff options
author | LW <git@llllvvuu.dev> | 2023-05-30 19:18:00 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-05-30 21:18:00 -0500 |
commit | 7d7410942f59380c9291f81c34699dc4827855e0 (patch) | |
tree | 0b5e53ad32fee82060ae797696b9ec8f9d7d5657 /src | |
parent | 3cb8169a4f98cf400b0560001b2d5588bd35b0c0 (diff) | |
download | voidsky-7d7410942f59380c9291f81c34699dc4827855e0.tar.zst |
fix: make DesktopLeftNav not overflow screen (#762)
* fix: make DesktopLeftNav not overflow screen * scroll: auto
Diffstat (limited to 'src')
-rw-r--r-- | src/view/shell/desktop/LeftNav.tsx | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/view/shell/desktop/LeftNav.tsx b/src/view/shell/desktop/LeftNav.tsx index 914dfb53a..8c701ea4e 100644 --- a/src/view/shell/desktop/LeftNav.tsx +++ b/src/view/shell/desktop/LeftNav.tsx @@ -274,6 +274,8 @@ const styles = StyleSheet.create({ top: 10, right: 'calc(50vw + 312px)', width: 220, + maxHeight: 'calc(100vh - 10px)', + overflowY: 'auto', }, profileCard: { |