Skip to content

Commit

Permalink
fix: Improve IllustrationDialog layout in native
Browse files Browse the repository at this point in the history
Add flagship aware padding bottom in cozydialogaction
inside fluidactions container
  • Loading branch information
acezard committed Nov 27, 2023
1 parent 0f3a954 commit 2946e9d
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions react/MuiCozyTheme/makeOverrides.js
Expand Up @@ -506,11 +506,13 @@ export const makeOverrides = theme => ({
'& .dialogContentWrapper': {
flexGrow: 1,
'&:not(.withActions)': {
paddingBottom: '16px'
paddingBottom:
'calc(env(safe-area-inset-bottom) + var(--flagship-bottom-height) + 16px)'
}
},
'& .cozyDialogActions': {
paddingBottom: '16px'
paddingBottom:
'calc(env(safe-area-inset-bottom) + var(--flagship-bottom-height) + 16px)'
}
}
},
Expand Down

0 comments on commit 2946e9d

Please sign in to comment.