Skip to content

Commit 20d1927

Browse files
committed
fix: adjust height of state-badge with icon to fit content
Fix #135
1 parent 6774a17 commit 20d1927

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/logbook-base-card.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -292,6 +292,9 @@ export abstract class LogbookBaseCard extends LitElement {
292292
state-badge {
293293
line-height: 1.5rem;
294294
}
295+
state-badge[icon] {
296+
height: fit-content;
297+
}
295298
.state {
296299
white-space: pre-wrap;
297300
}

0 commit comments

Comments
 (0)