Refactor and commenting of old code
Deploy to Unraid Share / copy-file (push) Successful in 10s

This commit is contained in:
Samira
2026-04-28 17:49:29 +02:00
parent ea6562946a
commit 5e8de743ae
+5 -4
View File
@@ -130,21 +130,22 @@ div:has(> div > .emby-scroller-container) {
opacity: 0.14 !important; opacity: 0.14 !important;
} }
/* Logo */ /* Instead of an element as padding, use a pseudo-element */
.layout-desktop .libraryPage.itemDetailPage::before { .layout-desktop .libraryPage.itemDetailPage::before {
/* Increase padding along screen width */
height: calc(30vw - var(--logo-height)); height: calc(30vw - var(--logo-height));
max-height: 13.35em; max-height: 13.35em;
} }
.layout-mobile .libraryPage.itemDetailPage::before { .layout-mobile .libraryPage.itemDetailPage::before {
/* Use static padding on mobile */
height: 10.3em; height: 10.3em;
} }
.libraryPage.itemDetailPage::before { .libraryPage.itemDetailPage::before {
display: block; display: block;
height: calc(30vw - var(--logo-height));
max-height: 13.35em;
content: ""; content: "";
} }
/* Position logo after padding */
.layout-mobile .detailLogo { .layout-mobile .detailLogo {
display: block; display: block;
} }
@@ -163,7 +164,7 @@ div:has(> div > .emby-scroller-container) {
background-position: bottom; background-position: bottom;
} }
/* Poster */ /* Hide poster */
.detailImageContainer { .detailImageContainer {
display: none; display: none;
} }