Skip to content

Commit d9453f5

Browse files
authored
Update fast-search-card.js
1 parent 13fbb2c commit d9453f5

File tree

1 file changed

+2
-6
lines changed

1 file changed

+2
-6
lines changed

dist/fast-search-card.js

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -4479,20 +4479,17 @@ class FastSearchCard extends HTMLElement {
44794479
position: relative;
44804480
}
44814481

4482-
44834482
.star-button {
44844483
display: flex;
44854484
align-items: center;
4486-
gap: 8px;
44874485
background: rgba(255, 255, 255, 0.1);
44884486
border: 1px solid rgba(255, 255, 255, 0.2);
44894487
border-radius: 8px;
44904488
padding: 8px 12px;
44914489
color: var(--text-secondary);
44924490
cursor: pointer;
44934491
transition: all 0.2s ease;
4494-
font-size: 14px;
4495-
margin-left: auto; /* Rechtsbündig */
4492+
flex-shrink: 0; /* Button behält seine Größe */
44964493
}
44974494

44984495
.star-button:hover {
@@ -4509,7 +4506,6 @@ class FastSearchCard extends HTMLElement {
45094506
transition: all 0.2s ease;
45104507
}
45114508

4512-
/* Starred state */
45134509
.star-button.starred {
45144510
color: #ffd700;
45154511
background: rgba(255, 215, 0, 0.1);
@@ -4518,7 +4514,7 @@ class FastSearchCard extends HTMLElement {
45184514

45194515
.star-button.starred:hover {
45204516
background: rgba(255, 215, 0, 0.15);
4521-
}
4517+
}
45224518

45234519
</style>
45244520

0 commit comments

Comments
 (0)