mirror of
https://github.com/Retrospring/retrospring.git
synced 2025-03-21 11:37:47 +01:00
add safe-area to bottom padding on mobile
This commit is contained in:
parent
67e564fd94
commit
b53538ccb8
1 changed files with 2 additions and 2 deletions
|
@ -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;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue