diff options
author | Samuel Newman <mozzius@protonmail.com> | 2025-01-09 17:29:33 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-01-09 17:29:33 +0000 |
commit | e5c587450fc811f5c3bb2068b4559810b44bf451 (patch) | |
tree | bd0b7a3aa4de3c59a4a4844689aa82b1bad4061c /src | |
parent | b49e93d58f56730eb66d132701c51e8b4c19736b (diff) | |
download | voidsky-e5c587450fc811f5c3bb2068b4559810b44bf451.tar.zst |
fix padding on android 15 (#7411)
Diffstat (limited to 'src')
-rw-r--r-- | src/view/shell/Drawer.tsx | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/src/view/shell/Drawer.tsx b/src/view/shell/Drawer.tsx index 3dc2b076c..2a070bf87 100644 --- a/src/view/shell/Drawer.tsx +++ b/src/view/shell/Drawer.tsx @@ -22,7 +22,7 @@ import {useSetDrawerOpen} from '#/state/shell' import {formatCount} from '#/view/com/util/numeric/format' import {UserAvatar} from '#/view/com/util/UserAvatar' import {NavSignupCard} from '#/view/shell/NavSignupCard' -import {atoms as a, useTheme, web} from '#/alf' +import {atoms as a, tokens, useTheme, web} from '#/alf' import {Button, ButtonIcon, ButtonText} from '#/components/Button' import {Divider} from '#/components/Divider' import { @@ -306,7 +306,12 @@ let DrawerFooter = ({ a.flex_wrap, a.pl_xl, a.pt_md, - {paddingBottom: Math.max(insets.bottom, a.pb_xl.paddingBottom)}, + { + paddingBottom: Math.max( + insets.bottom + tokens.space.xs, + tokens.space.xl, + ), + }, ]}> <Button label={_(msg`Send feedback`)} |