mirror of
https://github.com/home-assistant/frontend.git
synced 2025-07-16 05:46: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);
|
||||
}
|
||||
.move-up {
|
||||
margin-top: -13px;
|
||||
}
|
||||
.move-up:has(> mwc-list) {
|
||||
margin-top: -24px;
|
||||
}
|
||||
#entities > * {
|
||||
margin: 8px 16px 8px 8px;
|
||||
:not(.move-up) > mwc-list {
|
||||
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 {
|
||||
margin: 0;
|
||||
@ -305,6 +315,9 @@ export class HaDeviceEntitiesCard extends LitElement {
|
||||
outline: none;
|
||||
text-decoration: underline;
|
||||
}
|
||||
mwc-list > * {
|
||||
margin: 8px 0px;
|
||||
}
|
||||
ha-list-item {
|
||||
height: 40px;
|
||||
--mdc-ripple-color: transparent;
|
||||
|
Loading…
x
Reference in New Issue
Block a user