mirror of
https://github.com/loof2736/scyfin.git
synced 2025-11-03 16:08:53 +01:00
Fixed mobile header scaling on small devices #39
This commit is contained in:
parent
a430a08030
commit
1f055e932c
@ -341,6 +341,7 @@ html,
|
|||||||
margin-left: auto !important;
|
margin-left: auto !important;
|
||||||
margin-right: auto !important;
|
margin-right: auto !important;
|
||||||
width: auto !important;
|
width: auto !important;
|
||||||
|
max-width: 100% !important;
|
||||||
}
|
}
|
||||||
.layout-mobile .emby-button-foreground {
|
.layout-mobile .emby-button-foreground {
|
||||||
top: -2px !important;
|
top: -2px !important;
|
||||||
@ -373,6 +374,30 @@ html,
|
|||||||
.layout-mobile .headroom--not-top:has(.headerTabs.sectionTabs:not(.hide)) .headerRight {
|
.layout-mobile .headroom--not-top:has(.headerTabs.sectionTabs:not(.hide)) .headerRight {
|
||||||
background: var(--primary-background-transparent) !important;
|
background: var(--primary-background-transparent) !important;
|
||||||
}
|
}
|
||||||
|
@media (max-width: 380px) {
|
||||||
|
.layout-mobile .pageTitle:not(.pageTitleWithLogo):not(:empty) {
|
||||||
|
position: absolute !important;
|
||||||
|
margin-left: 50% !important;
|
||||||
|
transform: translate(-50%, 0) !important;
|
||||||
|
top: 60px !important;
|
||||||
|
}
|
||||||
|
.layout-mobile .headerTop:has(.pageTitle:not(.pageTitleWithLogo):not(:empty)) {
|
||||||
|
-webkit-align-items: start !important;
|
||||||
|
align-items: start !important;
|
||||||
|
}
|
||||||
|
.layout-mobile .skinHeader:has(.pageTitle:not(.pageTitleWithLogo):not(:empty)) {
|
||||||
|
height: 110px !important;
|
||||||
|
}
|
||||||
|
.layout-mobile .skinHeader:has(.pageTitle:not(.pageTitleWithLogo):not(:empty)):has(.sectionTabs:not(.hide)) {
|
||||||
|
height: 140px !important;
|
||||||
|
}
|
||||||
|
.layout-mobile .libraryPage:not(.noSecondaryNavPage) {
|
||||||
|
padding-top: 9.5em !important;
|
||||||
|
}
|
||||||
|
.layout-mobile .headroom--unpinned:has(.headerTabs.sectionTabs:not(.hide)):has(.pageTitle:not(.pageTitleWithLogo):not(:empty)) {
|
||||||
|
transform: translateY(-60%);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user