Skip to content

Commit 7986d55

Browse files
authored
Card: Fix card icon size + alignment (#355)
* Card: Fix icon size + add alignment * Card: Fix issue with icon shrinking
1 parent 0c5ec9e commit 7986d55

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

assets/css/v2/style.css

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1597,7 +1597,7 @@ a:hover {
15971597
display: flex;
15981598
flex-direction: row;
15991599
gap: 1rem;
1600-
align-items: center;
1600+
align-items: flex-start;
16011601
color: oklch(var(--color-brand));
16021602

16031603
img.card-brand-icon {
@@ -1637,6 +1637,7 @@ a:hover {
16371637
.card-container {
16381638
.card-header {
16391639
justify-content: flex-start;
1640+
align-items: center;
16401641

16411642
.lucide,
16421643
.card-brand-icon {
@@ -2161,8 +2162,9 @@ hr {
21612162
}
21622163

21632164
.lucide {
2164-
width: 1.8ch;
2165-
height: 1.8ch;
2165+
flex: 0 0 auto;
2166+
width: 1.5rem;
2167+
height: 1.5rem;
21662168
stroke: currentColor;
21672169
fill: none;
21682170
stroke-width: 2;

0 commit comments

Comments
 (0)