Compare commits

..

1 Commits

Author SHA1 Message Date
Samira eee19b47e0 Applied itemsContainer styling from desktop to mobile as well
Deploy to Unraid Share / copy-file (push) Successful in 5s
2026-04-29 22:58:40 +02:00
+9 -10
View File
@@ -98,16 +98,15 @@ div:has(> div > .emby-scroller-container) {
padding-left: unset !important; padding-left: unset !important;
padding-right: unset !important; padding-right: unset !important;
} }
/* Match padding to other pages on mobile */ /* Match padding to other pages on mobile */
.layout-mobile .verticalSection > * { .layout-mobile .verticalSection > * {
padding-left: 5% !important; padding-left: 5% !important;
padding-right: 5% !important; padding-right: 5% !important;
} }
.layout-mobile .itemsContainer {
display: flex; /* Remove margin in favour of flex gap */
gap: 1em; .itemsContainer > * {
}
.layout-mobile .itemsContainer > * {
margin: unset !important; margin: unset !important;
} }
@@ -350,17 +349,17 @@ div:has(> div > .emby-scroller-container) {
/* List of seasons */ /* List of seasons */
/* Replace margin with gap */ /* Replace margin with gap */
.layout-desktop .itemsContainer { .itemsContainer {
display: flex;
gap: 1.2em; gap: 1.2em;
} }
.layout-desktop .itemsContainer > .card > .cardBox { .itemsContainer > .card > .cardBox {
margin-right: unset !important; margin-right: unset !important;
} }
.itemsContainer.padded-right:not(.padded-left) {
.layout-desktop .itemsContainer.padded-right:not(.padded-left) {
padding: unset !important; /* Remove right padding if left padding is not present */ padding: unset !important; /* Remove right padding if left padding is not present */
} }
.layout-desktop .itemsContainer.vertical-wrap { .itemsContainer.vertical-wrap {
justify-content: center; /* Only center if wrapping is enabled */ justify-content: center; /* Only center if wrapping is enabled */
} }