mirror of
https://github.com/home-assistant/frontend.git
synced 2025-07-21 16:26:43 +00:00
Do not reserve space for condition card in grid section (#19973)
* Do not reserve space for condition card in grid section * Update src/panels/lovelace/sections/hui-grid-section.ts Co-authored-by: Bram Kragten <mail@bramkragten.nl> --------- Co-authored-by: Bram Kragten <mail@bramkragten.nl>
This commit is contained in:
parent
b99072d986
commit
50da4bcd37
@ -216,6 +216,14 @@ export class GridSection extends LitElement implements LovelaceSectionElement {
|
|||||||
grid-column: span var(--column-size, 4);
|
grid-column: span var(--column-size, 4);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.card:has(> *) {
|
||||||
|
display: block;
|
||||||
|
}
|
||||||
|
|
||||||
|
.card:has(> *[hidden]) {
|
||||||
|
display: none;
|
||||||
|
}
|
||||||
|
|
||||||
.add {
|
.add {
|
||||||
outline: none;
|
outline: none;
|
||||||
grid-row: span var(--row-size, 1);
|
grid-row: span var(--row-size, 1);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user