Template
Feat(site): miniature de la première image du paquet dans le menu déroulant
This commit is contained in:
1 parent
8a7e83cd01
commit
6adebf4c97
2 files changed
+29
-3
No files matched your search
@@ -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);
|
||||
|
||||
Reference in new issue
Block a user