Attachments list improvements

pull/5742/merge
Aleksander Machniak 7 years ago
parent 2efab3d446
commit 10356a0230

@ -722,10 +722,10 @@ html.touch .popupmenu.form {
li { li {
position: relative; position: relative;
display: flex; display: flex;
padding-right: 1.8em; padding-right: 1.5em;
a.filename { a.filename {
flex-grow: 1; flex: 1;
} }
a.delete, a.delete,

@ -883,19 +883,10 @@ html.touch {
// TODO // TODO
} }
.attachment-size {
color: @color-list-secondary;
}
a { a {
text-decoration: none; text-decoration: none;
line-height: @attachmentslist-item-height; line-height: @attachmentslist-item-height;
height: @attachmentslist-item-height; height: @attachmentslist-item-height;
// assume the filename is always first
&:first-child {
.overflow-ellipsis;
}
} }
a.cancelupload:before, a.cancelupload:before,
@ -908,7 +899,21 @@ html.touch {
&.uploading:before { &.uploading:before {
.animated-icon-class; .animated-icon-class;
.font-icon-regular(@fa-var-circle-notch); .font-icon-solid(@fa-var-circle-notch);
}
a.filename {
display: flex;
overflow: hidden;
}
.attachment-name {
.overflow-ellipsis;
}
.attachment-size {
color: @color-list-secondary;
padding: 0 .25em;
} }
} }
} }

Loading…
Cancel
Save