settings: Add a minimum width to "person picker" custom fields.

Empty "person picker" fields appear with a much smaller width than all
other custom fields. Increase the `min-width` of the field that it
matches the widths of other text boxes.

Fix #10414.
This commit is contained in:
Marco Burstein 2018-08-24 16:44:16 -07:00 committed by Tim Abbott
parent e31fa7edfe
commit 76511aeed6
2 changed files with 5 additions and 1 deletions

View File

@ -1426,6 +1426,10 @@ body:not(.night-mode) #account-settings .custom_user_field .datepicker {
opacity: 1;
}
#settings_page .custom_user_field .person_picker {
min-width: 206px;
}
#settings_page #change_password_modal .change_password_info,
#settings_page #change_email_modal .change_email_info,
#settings_page #change_full_name_modal .change_full_name_info {

View File

@ -10,7 +10,7 @@
{{/each}}
</select>
{{else if is_user_field }}
<div class="pill-container">
<div class="pill-container person_picker">
<div class="input" contenteditable="true"></div>
</div>
{{else if is_date_field }}