mirror of
https://github.com/zadam/trilium.git
synced 2025-06-06 09:58:32 +02:00
avoid overflowing of long mime type
This commit is contained in:
parent
aa96b33bc2
commit
f885388bf7
@ -42,7 +42,7 @@ class NoteInfoWidget extends StandardWidget {
|
|||||||
$dateCreated.text(note.dateCreated);
|
$dateCreated.text(note.dateCreated);
|
||||||
$dateModified.text(note.dateModified);
|
$dateModified.text(note.dateModified);
|
||||||
$type.text(note.type);
|
$type.text(note.type);
|
||||||
$mime.text(note.mime);
|
$mime.text(note.mime).attr("title", note.mime);
|
||||||
}
|
}
|
||||||
|
|
||||||
eventReceived(name, data) {
|
eventReceived(name, data) {
|
||||||
|
@ -417,4 +417,11 @@ body {
|
|||||||
#widgets-configuration .handle {
|
#widgets-configuration .handle {
|
||||||
margin-right: 20px;
|
margin-right: 20px;
|
||||||
display: inline-block;
|
display: inline-block;
|
||||||
|
}
|
||||||
|
|
||||||
|
.note-info-mime {
|
||||||
|
max-width: 13em;
|
||||||
|
overflow: hidden;
|
||||||
|
text-overflow: ellipsis;
|
||||||
|
white-space: nowrap;
|
||||||
}
|
}
|
Loading…
x
Reference in New Issue
Block a user