mirror of
https://github.com/muerwre/vault-frontend.git
synced 2025-04-24 20:36: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 {
|
||||
@include container;
|
||||
margin-top: $page_top_offset;
|
||||
|
||||
@include tablet {
|
||||
padding: 0 $gap;
|
||||
margin-top: 0;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -32,6 +32,11 @@
|
|||
.container {
|
||||
width: 100%;
|
||||
max-width: $content_width;
|
||||
margin-top: $page_top_offset;
|
||||
|
||||
@include tablet {
|
||||
margin-top: 0;
|
||||
}
|
||||
|
||||
&.fluid {
|
||||
max-width: 100vw;
|
||||
|
|
|
@ -18,6 +18,7 @@ $content_width: $cell * 5 + $grid_line * 4;
|
|||
$spc: $gap * 2;
|
||||
$comment_height: 72px;
|
||||
$bar_height: 64px;
|
||||
$page_top_offset: 32px;
|
||||
|
||||
$radius: 8px;
|
||||
$cell_radius: $radius;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue