Improve margin for inline tile card feature (#24316)

This commit is contained in:
Paul Bottein 2025-02-19 15:07:27 +01:00 committed by GitHub
parent ad487470fd
commit 694bb3088c
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -416,15 +416,12 @@ export class HuiTileCard extends LitElement implements LovelaceCard {
align-items: center;
padding: 10px;
flex: 1;
min-width: 0;
box-sizing: border-box;
pointer-events: none;
gap: 10px;
}
.container.horizontal .content {
width: 50%;
}
.vertical {
flex-direction: column;
text-align: center;
@ -458,9 +455,10 @@ export class HuiTileCard extends LitElement implements LovelaceCard {
padding: 0 12px 12px 12px;
}
.container.horizontal hui-card-features {
width: 50%;
width: calc(50% - var(--column-gap, 0px) / 2 - 12px);
flex: none;
--feature-height: 36px;
padding: 10px;
padding: 0 12px;
padding-inline-start: 0;
}