diff --git a/p/assets/styles/paquets.css b/p/assets/styles/paquets.css index ca35b23..e28775c 100644 --- a/p/assets/styles/paquets.css +++ b/p/assets/styles/paquets.css @@ -87,6 +87,26 @@ transition: background 120ms ease, color 120ms ease; } +/* Item avec miniature (première image du paquet) */ +.nav-dropdown-item.has-thumb { + grid-template-columns: auto 1fr; + align-items: center; + gap: 0.55rem; +} +.nav-dropdown-thumb { + width: 30px; + height: 30px; + border-radius: 8px; + object-fit: cover; + border: 1px solid var(--border); + display: block; +} +.nav-dropdown-text { + display: grid; + gap: 0.15rem; + min-width: 0; +} + .nav-dropdown-item:hover, .nav-dropdown-item:focus-visible { background: var(--accent-bg); diff --git a/page.php b/page.php index d83fcb1..06141f2 100644 --- a/page.php +++ b/page.php @@ -173,9 +173,15 @@ function fws_site_active(string $route, string $prefix): string $pkg): ?> - - - + + + + + + + + +