Skip to content

Commit 07d0a9f

Browse files
authored
Merge pull request #8575 from Couchers-org/na/web/fix-cookie-banner-save-profile
Cookie banner should not obscure profile save button
2 parents 5c9b75d + 08e8f3f commit 07d0a9f

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

app/web/features/profile/edit/EditProfile.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -176,7 +176,7 @@ const StickySaveBar = styled(Box, {
176176

177177
return {
178178
position: "fixed",
179-
bottom: 0,
179+
bottom: "var(--cookie-banner-height, 0px)",
180180
left: 0,
181181
right: 0,
182182
backgroundColor: "var(--mui-palette-background-paper)",
@@ -190,7 +190,7 @@ const StickySaveBar = styled(Box, {
190190
gap: theme.spacing(2),
191191

192192
[theme.breakpoints.down("md")]: {
193-
bottom: bottomNavHeight,
193+
bottom: `calc(${bottomNavHeight}px + var(--cookie-banner-height, 0px))`,
194194
padding: theme.spacing(1),
195195
paddingBottom: safePadding,
196196
},

0 commit comments

Comments
 (0)