mirror of
https://github.com/lscambo13/ElegantFin.git
synced 2025-12-29 07:17:47 +00:00
Fix: Header tabs were being cut-off on tablet screens #220
This commit is contained in:
@@ -3849,14 +3849,6 @@ ul.MuiList-root.MuiMenu-list.MuiList-dense > div:first-child {
|
|||||||
background-color: var(--textColor);
|
background-color: var(--textColor);
|
||||||
}
|
}
|
||||||
|
|
||||||
.layout-mobile .headerTabs.sectionTabs .emby-tab-button:first-child {
|
|
||||||
margin-left: var(--sidePadding);
|
|
||||||
}
|
|
||||||
|
|
||||||
.layout-mobile .headerTabs.sectionTabs .emby-tab-button:last-child {
|
|
||||||
margin-right: var(--sidePadding);
|
|
||||||
}
|
|
||||||
|
|
||||||
@media (min-width: 75em) {
|
@media (min-width: 75em) {
|
||||||
.sectionTabs {
|
.sectionTabs {
|
||||||
-webkit-align-items: center;
|
-webkit-align-items: center;
|
||||||
@@ -3883,6 +3875,17 @@ ul.MuiList-root.MuiMenu-list.MuiList-dense > div:first-child {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@media (max-width: 75em) {
|
||||||
|
/* these margins are applied only on phones, not tablets*/
|
||||||
|
.layout-mobile .sectionTabs .emby-tab-button:first-child {
|
||||||
|
margin-left: var(--sidePadding);
|
||||||
|
}
|
||||||
|
|
||||||
|
.layout-mobile .sectionTabs .emby-tab-button:last-child {
|
||||||
|
margin-right: var(--sidePadding);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
/* this increased top page padding when section tabs are maximised */
|
/* this increased top page padding when section tabs are maximised */
|
||||||
.libraryPage:not(.noSecondaryNavPage) {
|
.libraryPage:not(.noSecondaryNavPage) {
|
||||||
padding-top: 9.5em !important;
|
padding-top: 9.5em !important;
|
||||||
|
|||||||
Reference in New Issue
Block a user