mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
Backport pull request #6425 from jellyfin-web/release-10.10.z
Fix css fallback of max function in chrome 76.
Original-merge: d4b55ec67a
Merged-by: thornbill <thornbill@users.noreply.github.com>
Backported-by: thornbill <thornbill@users.noreply.github.com>
This commit is contained in:
parent
ad09013bf2
commit
d974ac47d9
8 changed files with 53 additions and 46 deletions
|
@ -1,3 +1,4 @@
|
|||
@import '../../styles/mixins';
|
||||
|
||||
.itemSelectionPanel {
|
||||
position: absolute;
|
||||
|
@ -14,16 +15,14 @@
|
|||
top: 0;
|
||||
left: 0;
|
||||
right: 0;
|
||||
padding-left: 0.5em;
|
||||
padding-left: max(env(safe-area-inset-left), 0.5em);
|
||||
padding-right: 0.5em;
|
||||
padding-right: max(env(safe-area-inset-right), 0.5em);
|
||||
padding-top: 1em;
|
||||
padding-top: max(env(safe-area-inset-top), 1em);
|
||||
padding-bottom: 1em;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
z-index: 99999;
|
||||
|
||||
@include conditional-max(padding-left, 0.5em, env(safe-area-inset-left));
|
||||
@include conditional-max(padding-right, 0.5em, env(safe-area-inset-right));
|
||||
@include conditional-max(padding-top, 1em, env(safe-area-inset-top));
|
||||
}
|
||||
|
||||
.itemSelectionCount {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue