Dostosowanie pakietów tematycznych

This commit is contained in:
dm
2025-12-17 08:28:25 +01:00
parent ce8b627160
commit 5c2f329174
7 changed files with 129 additions and 70 deletions

View File

@@ -460,4 +460,7 @@
.f-radio-details {
@apply pl-10 pr-3 pb-3 -mt-1 text-sm;
/* pl-10 = przesunięcie w prawo (radio + gap) */
}
}

View File

@@ -1,13 +1,24 @@
/* ===========================
TV ADDONS — LAYOUT FIXES
=========================== */
/* addon grid do góry */
.f-addon-section { align-items: start; }
/* f-section-grid ma u Ciebie items-center (centrowanie w pionie),
więc dla addonów wymuszamy start (od góry). */
.f-addon-section {
align-items: start; /* override dla grid items */
/* (opcjonalnie) jeśli navbar na desktop ma inną wysokość */
@media (min-width: 768px){
section.f-section[id^="tid-"]{
scroll-margin-top: calc(var(--f-navbar-height, 72px) + 8px);
}
}
/* 1 kolumna + ukryj media gdy brak */
[data-addon-section][data-has-media="0"] {
grid-template-columns: 1fr !important;
}
[data-addon-section][data-has-media="0"] .f-addon-media {
display: none;
}
/* Gdy island stwierdzi brak ikon i brak fallback image:
- 1 kolumna
- ukryj pusty blok mediów