mirror of
https://github.com/home-assistant/frontend.git
synced 2025-07-25 18:26:35 +00:00
Fix for "Increase generic entity row touch target (3): climate entities (#24002)
return to max-height + set vertical alignment
This commit is contained in:
parent
603f884e8c
commit
8b0e6eed3a
@ -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;
|
||||||
}
|
}
|
||||||
`;
|
`;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user