mirror of
https://github.com/home-assistant/frontend.git
synced 2025-07-28 03:36:44 +00:00
Align lawn-mower and vacuum more-info layouts (#20632)
This commit is contained in:
parent
21a563fe98
commit
f3abaa8e02
@ -189,6 +189,7 @@ class MoreInfoLawnMower extends LitElement {
|
|||||||
.flex-horizontal {
|
.flex-horizontal {
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-direction: row;
|
flex-direction: row;
|
||||||
|
justify-content: space-between;
|
||||||
}
|
}
|
||||||
.space-around {
|
.space-around {
|
||||||
justify-content: space-around;
|
justify-content: space-around;
|
||||||
|
@ -142,7 +142,7 @@ class MoreInfoVacuum extends LitElement {
|
|||||||
"ui.dialogs.more_info_control.vacuum.commands"
|
"ui.dialogs.more_info_control.vacuum.commands"
|
||||||
)}
|
)}
|
||||||
</div>
|
</div>
|
||||||
<div class="flex-horizontal">
|
<div class="flex-horizontal space-around">
|
||||||
${VACUUM_COMMANDS.filter((item) =>
|
${VACUUM_COMMANDS.filter((item) =>
|
||||||
item.isVisible(stateObj)
|
item.isVisible(stateObj)
|
||||||
).map(
|
).map(
|
||||||
@ -327,6 +327,9 @@ class MoreInfoVacuum extends LitElement {
|
|||||||
flex-direction: row;
|
flex-direction: row;
|
||||||
justify-content: space-between;
|
justify-content: space-between;
|
||||||
}
|
}
|
||||||
|
.space-around {
|
||||||
|
justify-content: space-around;
|
||||||
|
}
|
||||||
`;
|
`;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user