Skip to content

Commit 8d4d24e

Browse files
authored
Update fast-search-card.js
1 parent 744fb2b commit 8d4d24e

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

dist/fast-search-card.js

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4257,6 +4257,7 @@ class FastSearchCard extends HTMLElement {
42574257
color: var(--text-primary);
42584258
font-size: 16px;
42594259
font-weight: 600;
4260+
gap: 6px; /* NEU: Fügt einen Abstand zwischen Text und Zahl hinzu */
42604261
}
42614262

42624263
.action-filter-chip.active {
@@ -4268,7 +4269,7 @@ class FastSearchCard extends HTMLElement {
42684269
.action-filter-chip:hover {
42694270
background: rgba(255, 255, 255, 0.2);
42704271
}
4271-
4272+
42724273
.chip-count {
42734274
background: rgba(255,255,255,0.2);
42744275
border-radius: 8px;
@@ -4277,7 +4278,9 @@ class FastSearchCard extends HTMLElement {
42774278
font-weight: 600;
42784279
min-width: 16px;
42794280
text-align: center;
4280-
margin-left: 6px;
4281+
/* margin-left: 6px; <-- ALT: Diese Zeile wird entfernt oder auskommentiert */
4282+
display: inline-flex; /* NEU: Stellt konsistente Box-Berechnung sicher */
4283+
align-items: center; /* NEU: Zentriert die Zahl im Kästchen perfekt */
42814284
}
42824285

42834286
.action-filter-chip.active .chip-count {

0 commit comments

Comments
 (0)