21 lines
384 B
CSS
21 lines
384 B
CSS
.grid {
|
|
display: grid;
|
|
grid-template-columns: repeat(var(--mobile-column-count), minmax(0, 1fr));
|
|
grid-auto-flow: row;
|
|
grid-auto-rows: min(calc((100vw - 42px) / 2), 12rem);
|
|
gap: 10px;
|
|
padding-bottom: 10px;
|
|
}
|
|
|
|
.item {
|
|
position: relative;
|
|
min-width: 0;
|
|
min-height: 0;
|
|
}
|
|
|
|
.item > :global(.grid-stack-item-content) {
|
|
width: 100%;
|
|
height: 100%;
|
|
overflow-y: auto;
|
|
}
|