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

fixed line clamping on lab

This commit is contained in:
Fedor Katurov 2021-10-13 16:50:03 +07:00
parent 46a3e47cb2
commit 6761ca6330
4 changed files with 10 additions and 11 deletions

View file

@ -232,13 +232,11 @@ $sidebar_border: transparentize(white, 0.95);
}
@mixin clamp($lines, $line: 1em) {
max-height: $line * $lines;
overflow: hidden;
-webkit-line-clamp: $lines;
line-clamp: $lines;
display: -webkit-box;
line-clamp: $lines;
-webkit-line-clamp: $lines;
-webkit-box-orient: vertical;
text-overflow: ellipsis;
overflow: hidden;
}
@mixin sidebar {