Albirew/nyaa-pantsu
Archivé
1
0
Bifurcation 0

Make usernames stick to avatar in navbar (#886)

Usernames were hovering in between the search bar & avatar because of a fixed width:91px; (done because of character limit), so i instead replaced it to a max-width so that short usernames wouldn't just float in there
Cette révision appartient à :
kilo 2017-06-02 22:34:38 +02:00 révisé par akuma06
Parent 5f9b780b97
révision 22b0f9f01e

Voir le fichier

@ -187,7 +187,7 @@ select.form-input {
/* Property is ignored due to the display. With 'display: block', vertical-align should not be used. */ /* Property is ignored due to the display. With 'display: block', vertical-align should not be used. */
vertical-align: middle; vertical-align: middle;
/* Hardcoded so the div always fills up all available space while floating right */ /* Hardcoded so the div always fills up all available space while floating right */
width: 91px; max-width: 91px;
white-space: nowrap; white-space: nowrap;
overflow: hidden; overflow: hidden;
text-overflow: ellipsis; text-overflow: ellipsis;
@ -963,4 +963,4 @@ input.filelist-checkbox:checked + table.table-filelist {
.toolbar > div.float-right { .toolbar > div.float-right {
margin-top: 5px; margin-top: 5px;
} }