mirror of
https://github.com/Stremio/stremio-web.git
synced 2026-05-10 03:01:45 +00:00
player: respect PWA safe areas
This commit is contained in:
parent
dc8c1dddfc
commit
7ac3756aa9
1 changed files with 5 additions and 1 deletions
|
|
@ -55,6 +55,8 @@ html:not(.active-slider-within) {
|
|||
}
|
||||
|
||||
&.nav-bar-layer {
|
||||
left: var(--safe-area-inset-left);
|
||||
right: var(--safe-area-inset-right);
|
||||
bottom: initial;
|
||||
background: transparent;
|
||||
overflow: visible;
|
||||
|
|
@ -95,9 +97,11 @@ html:not(.active-slider-within) {
|
|||
}
|
||||
|
||||
&.control-bar-layer {
|
||||
left: var(--safe-area-inset-left);
|
||||
right: var(--safe-area-inset-right);
|
||||
top: initial;
|
||||
overflow: visible;
|
||||
padding-bottom: 0.5rem;
|
||||
padding-bottom: calc(0.5rem + var(--safe-area-inset-bottom));
|
||||
|
||||
&::before {
|
||||
position: absolute;
|
||||
|
|
|
|||
Loading…
Reference in a new issue