scss: keep uploaded filenames on a single line (#40250)

This commit is contained in:
Frédéric Péters 2020-02-27 21:10:35 +01:00
parent a11565d0b9
commit 78fc347b22
1 changed files with 8 additions and 1 deletions

View File

@ -460,7 +460,6 @@ div.fileinfo a.remove {
position: absolute;
display: block;
top: 0;
left: 0;
right: 0;
width: 2rem;
height: 2rem;
@ -586,6 +585,14 @@ div.file-upload-widget {
}
}
}
.filename {
white-space: pre;
text-overflow: ellipsis;
display: block;
overflow: hidden;
max-width: 95%;
margin: 0 auto;
}
&.widget-readonly {
div.file-button {
div.widget-message {