mirror of
https://github.com/muerwre/vault-frontend.git
synced 2025-04-28 22:26:41 +07:00
moved out image grid components
This commit is contained in:
parent
a957281d01
commit
5872e7a457
6 changed files with 69 additions and 64 deletions
14
src/components/editors/SortableImageGrid/styles.scss
Normal file
14
src/components/editors/SortableImageGrid/styles.scss
Normal file
|
@ -0,0 +1,14 @@
|
|||
.grid {
|
||||
min-height: 200px;
|
||||
padding-bottom: 62px;
|
||||
box-sizing: border-box;
|
||||
|
||||
display: grid;
|
||||
grid-column-gap: $gap;
|
||||
grid-row-gap: $gap;
|
||||
grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
|
||||
|
||||
@media (max-width: 600px) {
|
||||
grid-template-columns: repeat(auto-fill, minmax(30vw, 1fr));
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue