More sizing improvements.
This commit is contained in:
parent
86d24ccb43
commit
a1cf260072
2 changed files with 20 additions and 17 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue