Skip to content

Commit

Permalink
Set block only for square
Browse files Browse the repository at this point in the history
  • Loading branch information
piitaya committed Jun 27, 2024
1 parent 2a2be9c commit fbb5f4c
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/panels/lovelace/cards/hui-grid-card.ts
Original file line number Diff line number Diff line change
Expand Up @@ -92,6 +92,7 @@ class HuiGridCard extends HuiStackCard<GridCardConfig> {
}
:host([square]) #root > *:not([hidden]) {
display: block;
grid-row: 1 / 1;
grid-column: 1 / 1;
}
Expand All @@ -103,9 +104,6 @@ class HuiGridCard extends HuiStackCard<GridCardConfig> {
grid-row: unset;
grid-column: unset;
}
#root > hui-card {
display: block;
}
`,
];
}
Expand Down

0 comments on commit fbb5f4c

Please sign in to comment.