1
0
Fork 0
mirror of https://github.com/muerwre/vault-frontend.git synced 2025-04-25 21:06:42 +07:00

fixed appearance for mobile

This commit is contained in:
Fedor Katurov 2019-10-30 17:45:42 +07:00
parent 89a0cdd970
commit 8294c20d04
4 changed files with 18 additions and 8 deletions

View file

@ -59,6 +59,10 @@
box-sizing: border-box;
word-break: break-word;
@media (max-width: $cell * 2) {
font: $font_18_semibold;
}
}
.title {
@ -221,6 +225,7 @@
@media (max-width: $cell * 2 + $grid_line) {
right: 0;
top: 0;
display: none;
}
}

View file

@ -44,9 +44,9 @@ $stamp_color: $content_bg;
}
@media (max-width: $cell * 2) {
grid-template-columns: repeat(1, 1fr);
grid-template-columns: repeat(2, 1fr);
grid-template-rows: 40vh 75vw;
grid-auto-rows: 75vw;
grid-auto-rows: 50vw;
grid-column-gap: $gap;
grid-row-gap: $gap;
}