avoid overflowing of long mime type

This commit is contained in:
zadam 2019-09-03 22:06:49 +02:00
parent aa96b33bc2
commit f885388bf7
2 changed files with 8 additions and 1 deletions

View file

@ -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) {

View file

@ -417,4 +417,11 @@ body {
#widgets-configuration .handle {
margin-right: 20px;
display: inline-block;
}
.note-info-mime {
max-width: 13em;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}