More sizing improvements.

This commit is contained in:
Yaro Kasear 2025-12-31 13:56:06 -06:00
parent 86d24ccb43
commit a1cf260072
2 changed files with 20 additions and 17 deletions

View file

@ -5,6 +5,19 @@
.grid-widget {
container-type: inline-size;
min-width: 375px;
height: 100%;
display: flex;
flex-direction: column;
}
.grid-widget .grid-wrap {
flex: 1 1 auto;
width: 100%;
height: 100%;
position: relative;
overflow: hidden;
min-height: 375px;
z-index: 0;
}
.grid-widget [data-toolbar].toolbar {
@ -54,16 +67,6 @@
}
}
.grid-widget .grid-wrap {
flex: 1 1 auto;
width: 100%;
height: clamp(240px, 50vh, 700px);
position: relative;
overflow: hidden;
min-height: 0;
z-index: 0;
}
.grid-widget [data-grid] {
position: relative;
cursor: crosshair;