mirror of
https://github.com/jellyfin/jellyfin-web.git
synced 2026-10-26 16:45:18 +00:00
add fallback for calc rules on older browsers
This commit is contained in:
1 parent
003b417073
commit
4b487aa060
3 files changed
+12
No files matched your search
@@ -20,8 +20,12 @@
|
||||
inset: 0;
|
||||
z-index: 1000;
|
||||
width: 100%;
|
||||
/* stylelint-disable declaration-block-no-duplicate-properties */
|
||||
top: 5vh;
|
||||
height: 90vh;
|
||||
top: calc(5vh + env(safe-area-inset-top));
|
||||
height: calc(90vh - env(safe-area-inset-top) - env(safe-area-inset-bottom));
|
||||
/* stylelint-enable declaration-block-no-duplicate-properties */
|
||||
}
|
||||
|
||||
#dialogToc {
|
||||
|
||||
@@ -3,8 +3,12 @@
|
||||
|
||||
.slideshowSwiperContainer {
|
||||
position: relative;
|
||||
/* stylelint-disable declaration-block-no-duplicate-properties */
|
||||
top: 5vh;
|
||||
height: 90vh;
|
||||
top: calc(5vh + env(safe-area-inset-top));
|
||||
height: calc(90vh - env(safe-area-inset-top) - env(safe-area-inset-bottom));
|
||||
/* stylelint-enable declaration-block-no-duplicate-properties */
|
||||
}
|
||||
|
||||
.slider-zoom-container {
|
||||
|
||||
@@ -2,8 +2,12 @@
|
||||
position: relative;
|
||||
display: grid;
|
||||
place-items: center;
|
||||
/* stylelint-disable declaration-block-no-duplicate-properties */
|
||||
top: 5vh;
|
||||
height: 90vh;
|
||||
top: calc(5vh + env(safe-area-inset-top));
|
||||
height: calc(90vh - env(safe-area-inset-top) - env(safe-area-inset-bottom));
|
||||
/* stylelint-enable declaration-block-no-duplicate-properties */
|
||||
}
|
||||
|
||||
#pdfPlayer {
|
||||
|
||||
Reference in new issue
Block a user