mirror of
https://github.com/zadam/trilium.git
synced 2025-01-15 19:51:57 +08:00
link overflowing with ellipsis
This commit is contained in:
parent
f0c672445d
commit
f6776df645
2 changed files with 7 additions and 0 deletions
|
@ -34,6 +34,7 @@ async function getRenderedContent(note, options = {}) {
|
|||
}
|
||||
else {
|
||||
$renderedContent.css("padding", "10px");
|
||||
$renderedContent.addClass("text-with-ellipsis");
|
||||
|
||||
let childNoteIds = note.getChildNoteIds();
|
||||
|
||||
|
|
|
@ -944,3 +944,9 @@ input {
|
|||
padding-left: 25px;
|
||||
margin-bottom: 5px;
|
||||
}
|
||||
|
||||
.text-with-ellipsis {
|
||||
overflow-x: hidden;
|
||||
white-space: nowrap;
|
||||
text-overflow: ellipsis;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue