Compare commits

...

3 Commits

Author SHA1 Message Date
Samira 15d3e3ba52 Matched media titles padding on mobile to homepage
Deploy to Unraid Share / copy-file (push) Successful in 10s
2026-04-29 19:23:31 +02:00
Samira 295d42f322 Refactor for clarity 2026-04-29 19:15:27 +02:00
Samira 96f9485a1e Added padding to titles on mobile 2026-04-29 19:14:55 +02:00
+11 -2
View File
@@ -186,6 +186,12 @@ div:has(> div > .emby-scroller-container) {
background: rgba(0,0,0,0) !important;
}
/* Add padding to titles on mobile */
.layout-mobile .nameContainer > * {
padding-left: max(env(safe-area-inset-left),3.3%) !important;
padding-right: max(env(safe-area-inset-left),3.3%) !important;
}
/* Media title */
.nameContainer h1 {
/* Position on top of logo to keep link */
@@ -212,17 +218,20 @@ div:has(> div > .emby-scroller-container) {
font-size: var(--logo-height);
}
/* Season */
/* Episode title */
.nameContainer h3.itemName.infoText.subtitle bdi {
display: flex;
flex-direction: column;
place-items: center;
gap: 1em;
font-size: larger;
/* Hide characters left by moving around season title */
text-indent: -1ch;
overflow: hidden;
font-size: larger;
}
/* Season title */
.nameContainer h3.itemName.infoText.subtitle bdi [data-type="Season"] {
text-indent: 0;
font-size: .72em;