Skip to content

Build your personal knowledge base with Trilium Notes

one line overflow for note properties

zadam48cb4d2ab90c
diff --git a/src/public/app/widgets/type_property_widgets/note_properties.js b/src/public/app/widgets/type_property_widgets/note_properties.js
index 6049246cbd..506eb62ec8 100644
--- a/src/public/app/widgets/type_property_widgets/note_properties.js
+++ b/src/public/app/widgets/type_property_widgets/note_properties.js
@@ -9,7 +9,9 @@ const TPL = `
}
</style>
- This note was originally taken from: <a class="page-url external"></a>
+ <div style="overflow: hidden; text-overflow: ellipsis; white-space: nowrap">
+ This note was originally taken from: <a class="page-url external"></a>
+ </div>
</div>`;
export default class NotePropertiesWidget extends TabAwareWidget {
@@ -39,6 +41,7 @@ export default class NotePropertiesWidget extends TabAwareWidget {
this.$pageUrl
.attr('href', pageUrl)
+ .attr('title', pageUrl)
.text(pageUrl);
}
}