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

added title sizes for long titles

This commit is contained in:
Fedor Katurov 2020-10-31 15:36:16 +07:00
parent 118dad4e2b
commit 01f52bcb63
3 changed files with 34 additions and 3 deletions

View file

@ -175,3 +175,13 @@ $login_dialog_padding: $gap $gap 30px $gap;
background: 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;
-webkit-box-orient: vertical;
text-overflow: ellipsis;
}