css: Fix css styling in "profile-settings-form".

This is a follow-up for #28924 to fix css issues related to border around
required custom-profile-fields.
This commit is contained in:
Vector73 2024-03-25 15:51:25 +05:30 committed by Tim Abbott
parent 9080d583df
commit 7bd893915d
3 changed files with 3 additions and 2 deletions

View File

@ -141,7 +141,7 @@ export const update_person = function update(person) {
const $custom_user_field = $(
`.profile-settings-form .custom_user_field[data-field-id="${CSS.escape(field_id)}"]`,
);
const $field = $custom_user_field.find(".field");
const $field = $custom_user_field.find(".settings-profile-user-field");
const $required_symbol = $custom_user_field.find(".required-symbol");
if (!field_value) {
if (!$field.hasClass("empty-required-field")) {

View File

@ -482,7 +482,7 @@
border-width: 1px;
}
.field {
.settings-profile-user-field {
border-color: hsl(3deg 73% 74%);
}

View File

@ -1924,6 +1924,7 @@ $option_title_width: 180px;
.settings_textarea,
.pill-container {
border-color: hsl(0deg 0% 100%);
margin-bottom: 0;
&:focus {
border-color: hsl(206deg 80% 62% / 80%);