mirror of
https://github.com/home-assistant/frontend.git
synced 2025-07-25 18:26:35 +00:00
Fix margins for disabled entities on a device card (#22576)
Update ha-device-entities-card.ts
This commit is contained in:
parent
d302eaffe6
commit
00934f2183
@ -251,9 +251,7 @@ export class HaDeviceEntitiesCard extends LitElement {
|
|||||||
display: block;
|
display: block;
|
||||||
}
|
}
|
||||||
ha-icon {
|
ha-icon {
|
||||||
margin-left: 8px;
|
margin-left: -8px;
|
||||||
margin-inline-start: 8px;
|
|
||||||
margin-inline-end: initial;
|
|
||||||
}
|
}
|
||||||
.entity-id {
|
.entity-id {
|
||||||
color: var(--secondary-text-color);
|
color: var(--secondary-text-color);
|
||||||
@ -283,6 +281,9 @@ export class HaDeviceEntitiesCard extends LitElement {
|
|||||||
.name {
|
.name {
|
||||||
font-size: 14px;
|
font-size: 14px;
|
||||||
}
|
}
|
||||||
|
.name:dir(rtl) {
|
||||||
|
margin-inline-start: 8px;
|
||||||
|
}
|
||||||
.empty {
|
.empty {
|
||||||
text-align: center;
|
text-align: center;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user