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:
parent
61326f237f
commit
c0c3b3af6a
3 changed files with 8 additions and 0 deletions
|
@ -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;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -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;
|
||||||
|
|
|
@ -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;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue