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:
parent
118dad4e2b
commit
01f52bcb63
3 changed files with 34 additions and 3 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue