mirror of
https://github.com/home-assistant/frontend.git
synced 2025-07-24 09:46:36 +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
68fbadf21b
commit
0ed483ba51
@ -215,6 +215,14 @@ export class GridSection extends LitElement implements LovelaceSectionElement {
|
||||
grid-column: span var(--column-size, 4);
|
||||
}
|
||||
|
||||
.card:has(> *) {
|
||||
display: block;
|
||||
}
|
||||
|
||||
.card:has(> *[hidden]) {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.add {
|
||||
outline: none;
|
||||
grid-row: span var(--row-size, 1);
|
||||
|
Loading…
x
Reference in New Issue
Block a user