Fix for "Increase generic entity row touch target (3): climate entities (#24002)

return to max-height + set vertical alignment
This commit is contained in:
ildar170975 2025-02-03 10:07:11 +03:00 committed by GitHub
parent 603f884e8c
commit 8b0e6eed3a
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -200,9 +200,8 @@ export class HuiGenericEntityRow extends LitElement {
padding-inline-start: 16px; padding-inline-start: 16px;
padding-inline-end: 8px; padding-inline-end: 8px;
flex: 1 1 30%; flex: 1 1 30%;
} min-height: 40px;
.info:not(:has(.secondary)) { align-content: center;
line-height: 40px;
} }
.info, .info,
.info > * { .info > * {
@ -236,7 +235,8 @@ export class HuiGenericEntityRow extends LitElement {
} }
.value { .value {
direction: ltr; direction: ltr;
line-height: 40px; min-height: 40px;
align-content: center;
} }
`; `;
} }