Adjust row height in grid (#21311)

* Set row height to 56px

* Adjust padding and sizes

* Adjust margin

* Fix pointer-events

* Fix image size

* Clean code
This commit is contained in:
Paul Bottein
2024-07-15 14:11:03 +02:00
committed by GitHub
parent f87296d978
commit f70126eb62
34 changed files with 762 additions and 999 deletions

View File

@@ -20,7 +20,7 @@ export class HaGridSizeEditor extends LitElement {
@property({ attribute: false }) public value?: GridSizeValue;
@property({ attribute: false }) public rows = 6;
@property({ attribute: false }) public rows = 8;
@property({ attribute: false }) public columns = 4;
@@ -205,7 +205,7 @@ export class HaGridSizeEditor extends LitElement {
.preview {
position: relative;
grid-area: preview;
aspect-ratio: 1 / 1;
aspect-ratio: 1 / 1.2;
}
.preview > div {
position: absolute;