Skip to content

Commit

Permalink
fix padding on android 15 (#7411)
Browse files Browse the repository at this point in the history
  • Loading branch information
mozzius authored Jan 9, 2025
1 parent b49e93d commit e5c5874
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions src/view/shell/Drawer.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down Expand Up @@ -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`)}
Expand Down

0 comments on commit e5c5874

Please sign in to comment.