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

fixed desktop margin top on lab and flow

This commit is contained in:
Fedor Katurov 2022-03-24 19:15:36 +07:00
parent 61326f237f
commit c0c3b3af6a
3 changed files with 8 additions and 0 deletions

View file

@ -13,9 +13,11 @@ $cols: math.div($content_width, $cell);
.container { .container {
@include container; @include container;
margin-top: $page_top_offset;
@include tablet { @include tablet {
padding: 0 $gap; padding: 0 $gap;
margin-top: 0;
} }
} }

View file

@ -32,6 +32,11 @@
.container { .container {
width: 100%; width: 100%;
max-width: $content_width; max-width: $content_width;
margin-top: $page_top_offset;
@include tablet {
margin-top: 0;
}
&.fluid { &.fluid {
max-width: 100vw; max-width: 100vw;

View file

@ -18,6 +18,7 @@ $content_width: $cell * 5 + $grid_line * 4;
$spc: $gap * 2; $spc: $gap * 2;
$comment_height: 72px; $comment_height: 72px;
$bar_height: 64px; $bar_height: 64px;
$page_top_offset: 32px;
$radius: 8px; $radius: 8px;
$cell_radius: $radius; $cell_radius: $radius;