one line overflow for note properties

This commit is contained in:
zadam 2021-02-02 23:36:27 +01:00
parent 3a94b04ef4
commit 48cb4d2ab9

View File

@ -9,7 +9,9 @@ const TPL = `
} }
</style> </style>
<div style="overflow: hidden; text-overflow: ellipsis; white-space: nowrap">
This note was originally taken from: <a class="page-url external"></a> This note was originally taken from: <a class="page-url external"></a>
</div>
</div>`; </div>`;
export default class NotePropertiesWidget extends TabAwareWidget { export default class NotePropertiesWidget extends TabAwareWidget {
@ -39,6 +41,7 @@ export default class NotePropertiesWidget extends TabAwareWidget {
this.$pageUrl this.$pageUrl
.attr('href', pageUrl) .attr('href', pageUrl)
.attr('title', pageUrl)
.text(pageUrl); .text(pageUrl);
} }
} }