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:
parent
46a3e47cb2
commit
6761ca6330
4 changed files with 10 additions and 11 deletions
|
@ -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 {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue