link overflowing with ellipsis

This commit is contained in:
zadam 2021-10-10 14:34:54 +02:00
parent f0c672445d
commit f6776df645
2 changed files with 7 additions and 0 deletions

View file

@ -34,6 +34,7 @@ async function getRenderedContent(note, options = {}) {
}
else {
$renderedContent.css("padding", "10px");
$renderedContent.addClass("text-with-ellipsis");
let childNoteIds = note.getChildNoteIds();

View file

@ -944,3 +944,9 @@ input {
padding-left: 25px;
margin-bottom: 5px;
}
.text-with-ellipsis {
overflow-x: hidden;
white-space: nowrap;
text-overflow: ellipsis;
}