mirror of
https://github.com/muerwre/vault-frontend.git
synced 2025-04-30 23:26:40 +07:00
added useSortableActions hook
This commit is contained in:
parent
3345939670
commit
586ebb7480
7 changed files with 86 additions and 72 deletions
src/components/sortable/SortableImageGrid
|
@ -1,23 +0,0 @@
|
|||
@import "src/styles/variables";
|
||||
|
||||
.grid {
|
||||
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));
|
||||
}
|
||||
}
|
||||
|
||||
.overlay {
|
||||
box-shadow: rgba(0, 0, 0, 0.3) 5px 5px 10px 2px;
|
||||
border-radius: $radius;
|
||||
}
|
||||
|
||||
.dragging {
|
||||
opacity: 0.1;
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue