settings: Refactor css for users and bots table.

This commit makes the selectors for CSS applied to users
and bots table more specific since the classes used
before are generic and can be used at other places
as well.
This commit is contained in:
Sahil Batra 2024-07-15 23:06:29 +05:30 committed by Tim Abbott
parent 413892ddb1
commit 3fe8ad37df
1 changed files with 20 additions and 16 deletions

View File

@ -1840,12 +1840,15 @@ $option_title_width: 180px;
}
}
#admin-user-list,
#admin-bot-list {
.user_row {
.user_name,
.email {
min-width: 8em;
}
}
}
.admin_profile_fields_table {
.profile_field_name,
@ -1856,12 +1859,20 @@ $option_title_width: 180px;
}
@media (width < $sm_min) {
#admin-user-list,
#admin-bot-list {
.user_row,
.settings-section {
.table-sticky-headers {
.bot_type,
.last_active {
display: none;
}
.user_name,
.email {
min-width: 8em;
}
}
}
#pw_strength {
@ -1905,13 +1916,6 @@ $option_title_width: 180px;
}
}
.user_row {
.user_name,
.email {
min-width: 8em;
}
}
.admin_profile_fields_table {
.profile_field_name,
.profile_field_hint {