add safe-area to bottom padding on mobile

This commit is contained in:
Andreas Nedbal 2022-12-23 01:29:37 +01:00 committed by Andreas Nedbal
parent 67e564fd94
commit b53538ccb8
1 changed files with 2 additions and 2 deletions

View File

@ -7,11 +7,11 @@ body {
padding-top: $navbar-height;
}
@include media-breakpoint-down('md') {
padding-bottom: $navbar-height;
padding-bottom: calc($navbar-height + unquote('env(safe-area-inset-bottom, 0)'));
}
&.not-logged-in {
padding-top: $navbar-height;
padding-bottom: 0;
}
}
}