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

fixed lab cut-down gradients

This commit is contained in:
Fedor Katurov 2021-09-28 17:53:36 +07:00
parent f336974efd
commit ddef1e72f7
3 changed files with 8 additions and 29 deletions

View file

@ -1,23 +1,13 @@
@import "~/styles/variables.scss";
.wrap {
padding: $lab_gap $lab_gap 0;
padding: $lab_gap / 2 $lab_gap 0;
line-height: 1.3em;
@include tablet {
padding: $lab_gap_mobile $lab_gap_mobile 0;
position: relative;
max-height: 30vh;
overflow: hidden;
&::after {
content: ' ';
position: absolute;
background: linear-gradient(transparentize($lab_post_bg, 1), $lab_post_bg 80%);
bottom: 0;
left: auto;
width: 100%;
height: 100px;
}
@include clamp(10, 1.3 * 16);
font: $font_16_regular;
line-height: 1.3em;
padding: $lab_gap_mobile / 2 $lab_gap_mobile;
}
}