mirror of
https://github.com/muerwre/vault-frontend.git
synced 2025-04-25 04:46:40 +07:00
Fixed lab padding for mobile
This commit is contained in:
parent
330fdcf444
commit
5b507bc736
5 changed files with 14 additions and 1 deletions
|
@ -2,6 +2,10 @@
|
||||||
|
|
||||||
.wrap {
|
.wrap {
|
||||||
padding: $gap $lab_gap $lab_gap;
|
padding: $gap $lab_gap $lab_gap;
|
||||||
|
|
||||||
|
@include tablet {
|
||||||
|
padding: $gap $lab_gap_mobile $lab_gap_mobile;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.timestamp {
|
.timestamp {
|
||||||
|
|
|
@ -5,6 +5,7 @@
|
||||||
line-height: 1.3em;
|
line-height: 1.3em;
|
||||||
|
|
||||||
@include tablet {
|
@include tablet {
|
||||||
|
padding: $lab_gap_mobile $lab_gap_mobile 0;
|
||||||
position: relative;
|
position: relative;
|
||||||
max-height: 30vh;
|
max-height: 30vh;
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
|
|
|
@ -2,6 +2,10 @@
|
||||||
|
|
||||||
.wrap {
|
.wrap {
|
||||||
padding: $lab_gap - $gap $lab_gap 0;
|
padding: $lab_gap - $gap $lab_gap 0;
|
||||||
|
|
||||||
|
@include tablet {
|
||||||
|
padding: $gap $lab_gap_mobile 0;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.title {
|
.title {
|
||||||
|
@ -10,6 +14,9 @@
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
flex: 1;
|
flex: 1;
|
||||||
text-overflow: ellipsis;
|
text-overflow: ellipsis;
|
||||||
|
word-break: break-all;
|
||||||
|
|
||||||
|
@include clamp(2, 1.2em);
|
||||||
|
|
||||||
a {
|
a {
|
||||||
text-decoration: none;
|
text-decoration: none;
|
||||||
|
@ -17,7 +24,6 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
@include tablet {
|
@include tablet {
|
||||||
white-space: nowrap;
|
|
||||||
padding-bottom: 0;
|
padding-bottom: 0;
|
||||||
font: $font_20_semibold;
|
font: $font_20_semibold;
|
||||||
}
|
}
|
||||||
|
|
|
@ -5,6 +5,7 @@
|
||||||
line-height: 1.3em;
|
line-height: 1.3em;
|
||||||
|
|
||||||
@include tablet {
|
@include tablet {
|
||||||
|
padding: 0 $lab_gap_mobile;
|
||||||
position: relative;
|
position: relative;
|
||||||
max-height: 100vh;
|
max-height: 100vh;
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
|
|
|
@ -4,6 +4,7 @@ $header_height: 64px;
|
||||||
$cell: 280px;
|
$cell: 280px;
|
||||||
$gap: 10px;
|
$gap: 10px;
|
||||||
$lab_gap: $gap * 3;
|
$lab_gap: $gap * 3;
|
||||||
|
$lab_gap_mobile: $gap * 2;
|
||||||
$grid_line: 5px;
|
$grid_line: 5px;
|
||||||
$content_width: $cell * 5 + $grid_line * 4;
|
$content_width: $cell * 5 + $grid_line * 4;
|
||||||
$spc: $gap * 2;
|
$spc: $gap * 2;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue