mirror of
https://github.com/muerwre/vault-frontend.git
synced 2025-04-25 21:06:42 +07:00
flow grid now has 5 columns
This commit is contained in:
parent
744f79053b
commit
ed3f6369fb
5 changed files with 34 additions and 11 deletions
|
@ -91,6 +91,16 @@
|
|||
grid-column-end: span 2;
|
||||
}
|
||||
|
||||
:global(.horizontal),
|
||||
:global(.quadro) {
|
||||
grid-column-end: span 2;
|
||||
}
|
||||
|
||||
:global(.vertical),
|
||||
:global(.quadro) {
|
||||
grid-row-end: span 2;
|
||||
}
|
||||
|
||||
.is_text {
|
||||
background: none;
|
||||
padding: 10px;
|
||||
|
|
|
@ -14,9 +14,15 @@ $cols: $content_width / $cell;
|
|||
grid-column-gap: $grid_line;
|
||||
grid-row-gap: $grid_line;
|
||||
|
||||
@media (max-width: $cell * 6) {
|
||||
grid-template-columns: repeat(5, 1fr);
|
||||
grid-template-rows: 40vh 20vw;
|
||||
grid-auto-rows: 20vw;
|
||||
}
|
||||
|
||||
@media (max-width: $cell * 5) {
|
||||
grid-template-columns: repeat(4, 1fr);
|
||||
grid-template-rows: 25vw $cell;
|
||||
grid-template-rows: 40vh 25vw;
|
||||
grid-auto-rows: 25vw;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue