Fix broken UI on long filenames (#2215)

If you select a presentation with a very long filename in in Greenlight,
the filename text in the upload dialog wraps at the end and leaves the
label box, leading to a slightly broken looking user interface.

This patch adjusts the style to hide the end of a long filename, ending
with a horizontal ellipsis instead.
This commit is contained in:
Lars Kiesow 2020-10-21 16:17:24 +02:00 committed by GitHub
parent 7c57f4b93a
commit a17bcb9d14
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 8 additions and 1 deletions

View File

@ -125,4 +125,11 @@
.create-room-button {
width: 49%;
}
}
#presentation-upload-label {
overflow: hidden;
white-space: nowrap;
text-overflow: ellipsis;
padding-right: 75px;
}