mirror of
https://github.com/zadam/trilium.git
synced 2025-01-16 03:58:53 +08:00
avoid overflowing of long mime type
This commit is contained in:
parent
aa96b33bc2
commit
f885388bf7
2 changed files with 8 additions and 1 deletions
|
@ -42,7 +42,7 @@ class NoteInfoWidget extends StandardWidget {
|
|||
$dateCreated.text(note.dateCreated);
|
||||
$dateModified.text(note.dateModified);
|
||||
$type.text(note.type);
|
||||
$mime.text(note.mime);
|
||||
$mime.text(note.mime).attr("title", note.mime);
|
||||
}
|
||||
|
||||
eventReceived(name, data) {
|
||||
|
|
|
@ -418,3 +418,10 @@ body {
|
|||
margin-right: 20px;
|
||||
display: inline-block;
|
||||
}
|
||||
|
||||
.note-info-mime {
|
||||
max-width: 13em;
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
white-space: nowrap;
|
||||
}
|
Loading…
Reference in a new issue