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 à :
Parent
5f9b780b97
révision
22b0f9f01e
1 fichiers modifiés avec 2 ajouts et 2 suppressions
|
@ -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;
|
||||||
}
|
}
|
||||||
|
|
Référencer dans un nouveau ticket