Skip to content

Commit c2017cd

Browse files
authored
Add files via upload
1 parent 540054b commit c2017cd

File tree

1 file changed

+8
-22
lines changed

1 file changed

+8
-22
lines changed

dist/fast-search-card.js

Lines changed: 8 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -4241,7 +4241,6 @@ class FastSearchCard extends HTMLElement {
42414241
display: none;
42424242
}
42434243

4244-
42454244
.action-filter-chip {
42464245
padding: 10px 15px;
42474246
background: rgba(255, 255, 255, 0.08);
@@ -4254,19 +4253,12 @@ class FastSearchCard extends HTMLElement {
42544253
text-align: center;
42554254
height: 30px;
42564255
display: flex;
4257-
align-items: center; /* Stellt die vertikale Zentrierung sicher */
4258-
justify-content: center; /* Stellt die horizontale Zentrierung sicher */
4256+
align-items: center;
42594257
color: var(--text-primary);
42604258
font-size: 16px;
42614259
font-weight: 600;
4262-
gap: 8px; /* Definiert den Abstand zwischen Text und Zahl */
4263-
line-height: 1; /* Verhindert Störungen durch Zeilenhöhe */
42644260
}
42654261

4266-
.action-filter-chip > span {
4267-
line-height: 1; /* Stellt sicher, dass auch die Text-Spans keine unerwartete Höhe haben */
4268-
}
4269-
42704262
.action-filter-chip.active {
42714263
background: var(--accent-light);
42724264
border-color: var(--accent);
@@ -4276,7 +4268,7 @@ class FastSearchCard extends HTMLElement {
42764268
.action-filter-chip:hover {
42774269
background: rgba(255, 255, 255, 0.2);
42784270
}
4279-
4271+
42804272
.chip-count {
42814273
background: rgba(255,255,255,0.2);
42824274
border-radius: 8px;
@@ -4285,11 +4277,7 @@ class FastSearchCard extends HTMLElement {
42854277
font-weight: 600;
42864278
min-width: 16px;
42874279
text-align: center;
4288-
/* margin-left wird durch 'gap' im Parent ersetzt */
4289-
display: inline-flex;
4290-
align-items: center;
4291-
justify-content: center;
4292-
line-height: 1;
4280+
margin-left: 6px;
42934281
}
42944282

42954283
.action-filter-chip.active .chip-count {
@@ -11931,25 +11919,23 @@ class FastSearchCard extends HTMLElement {
1193111919
<div class="actions-container">
1193211920
<div class="actions-header">
1193311921
<h4>Verfügbare Aktionen für ${item.name}</h4>
11934-
1193511922
<div class="actions-filter-chips">
1193611923
<button class="action-filter-chip active" data-action-filter="all">
11937-
<span>Alle</span><span class="chip-count" id="actions-all-count">0</span>
11924+
Alle <span class="chip-count" id="actions-all-count">0</span>
1193811925
</button>
1193911926
<button class="action-filter-chip" data-action-filter="favorites" style="display: none;">
11940-
<span>Favoriten</span><span class="chip-count" id="actions-favorites-count">0</span>
11927+
Favoriten <span class="chip-count" id="actions-favorites-count">0</span>
1194111928
</button>
1194211929
<button class="action-filter-chip" data-action-filter="scenes">
11943-
<span>Szenen</span><span class="chip-count" id="actions-scenes-count">0</span>
11930+
🎬 Szenen <span class="chip-count" id="actions-scenes-count">0</span>
1194411931
</button>
1194511932
<button class="action-filter-chip" data-action-filter="scripts">
11946-
<span>Skripte</span><span class="chip-count" id="actions-scripts-count">0</span>
11933+
📜 Skripte <span class="chip-count" id="actions-scripts-count">0</span>
1194711934
</button>
1194811935
<button class="action-filter-chip" data-action-filter="automations">
11949-
<span>Automationen</span><span class="chip-count" id="actions-automations-count">0</span>
11936+
⚙️ Automationen <span class="chip-count" id="actions-automations-count">0</span>
1195011937
</button>
1195111938
</div>
11952-
1195311939
</div>
1195411940

1195511941
<div class="actions-results-container">

0 commit comments

Comments
 (0)