mirror of
https://github.com/home-assistant/frontend.git
synced 2025-07-17 14:26:35 +00:00
Fix visibility for shown entities on device card (2) (#23198)
This commit is contained in:
parent
2fe6203eae
commit
3b52d3d302
@ -266,10 +266,20 @@ export class HaDeviceEntitiesCard extends LitElement {
|
|||||||
color: var(--secondary-text-color);
|
color: var(--secondary-text-color);
|
||||||
}
|
}
|
||||||
.move-up {
|
.move-up {
|
||||||
|
margin-top: -13px;
|
||||||
|
}
|
||||||
|
.move-up:has(> mwc-list) {
|
||||||
margin-top: -24px;
|
margin-top: -24px;
|
||||||
}
|
}
|
||||||
#entities > * {
|
:not(.move-up) > mwc-list {
|
||||||
margin: 8px 16px 8px 8px;
|
margin-top: -24px;
|
||||||
|
}
|
||||||
|
mwc-list + button.show-more,
|
||||||
|
.move-up + :not(:has(mwc-list)) > button.show-more {
|
||||||
|
margin-top: -12px;
|
||||||
|
}
|
||||||
|
#entities > mwc-list {
|
||||||
|
margin: 0 16px 0 8px;
|
||||||
}
|
}
|
||||||
#entities > paper-icon-item {
|
#entities > paper-icon-item {
|
||||||
margin: 0;
|
margin: 0;
|
||||||
@ -305,6 +315,9 @@ export class HaDeviceEntitiesCard extends LitElement {
|
|||||||
outline: none;
|
outline: none;
|
||||||
text-decoration: underline;
|
text-decoration: underline;
|
||||||
}
|
}
|
||||||
|
mwc-list > * {
|
||||||
|
margin: 8px 0px;
|
||||||
|
}
|
||||||
ha-list-item {
|
ha-list-item {
|
||||||
height: 40px;
|
height: 40px;
|
||||||
--mdc-ripple-color: transparent;
|
--mdc-ripple-color: transparent;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user