feat: add mobile layout preview
This commit is contained in:
1 parent
c805d5c631
commit
bb5df3a2e6
9 files changed
+369
-29
No files matched your search
@@ -1,8 +1,9 @@
|
||||
.grid {
|
||||
container-type: inline-size;
|
||||
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);
|
||||
grid-auto-rows: min(calc((100cqw - 42px) / var(--mobile-column-count)), 12rem);
|
||||
gap: 10px;
|
||||
padding-bottom: 10px;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user