From cdbc20d30407725a782a9e06e09e2d745a9fd7a0 Mon Sep 17 00:00:00 2001 From: Ujjawal Modi Date: Wed, 26 Jul 2023 14:32:02 +0530 Subject: [PATCH] invite-user-modal: Remove duplicate CSS rules. Removes some CSS rules used in the invite user modal that were already being applied via the shared `modal_select` class. Co-authored-by: Lauryn Menard --- web/styles/zulip.css | 12 +----------- web/templates/invite_user_modal.hbs | 6 +++--- 2 files changed, 4 insertions(+), 14 deletions(-) diff --git a/web/styles/zulip.css b/web/styles/zulip.css index 7e4a879b35..c9fb723d21 100644 --- a/web/styles/zulip.css +++ b/web/styles/zulip.css @@ -1578,17 +1578,7 @@ div.toggle_resolve_topic_spinner .loading_indicator_spinner { margin: 0; } -select.invite-expires-in, -select.custom-expiration-time, -select.invite-as { - width: 220px; - height: 30px; - padding: 0 6px; - color: hsl(0deg 0% 33%); - border-radius: 4px; - border: 1px solid hsl(0deg 0% 80%); - cursor: pointer; - background-color: hsl(0deg 0% 100%); +.invite-user-select { vertical-align: middle; } diff --git a/web/templates/invite_user_modal.hbs b/web/templates/invite_user_modal.hbs index c4ce3c1d4e..d106c01424 100644 --- a/web/templates/invite_user_modal.hbs +++ b/web/templates/invite_user_modal.hbs @@ -28,7 +28,7 @@
- {{#each expires_in_options}} {{/each}} @@ -37,7 +37,7 @@
- {{#each time_choices}} {{/each}} @@ -49,7 +49,7 @@ - {{#if is_admin}}