mirror of
https://github.com/zadam/trilium.git
synced 2025-03-01 14:22:32 +01:00
link overflowing with ellipsis
This commit is contained in:
parent
f0c672445d
commit
f6776df645
@ -34,6 +34,7 @@ async function getRenderedContent(note, options = {}) {
|
|||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
$renderedContent.css("padding", "10px");
|
$renderedContent.css("padding", "10px");
|
||||||
|
$renderedContent.addClass("text-with-ellipsis");
|
||||||
|
|
||||||
let childNoteIds = note.getChildNoteIds();
|
let childNoteIds = note.getChildNoteIds();
|
||||||
|
|
||||||
|
@ -944,3 +944,9 @@ input {
|
|||||||
padding-left: 25px;
|
padding-left: 25px;
|
||||||
margin-bottom: 5px;
|
margin-bottom: 5px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.text-with-ellipsis {
|
||||||
|
overflow-x: hidden;
|
||||||
|
white-space: nowrap;
|
||||||
|
text-overflow: ellipsis;
|
||||||
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user