From 6bd650bc9fe552270f9438fb43c3626eebdb1501 Mon Sep 17 00:00:00 2001 From: Sahil Batra Date: Thu, 16 Feb 2023 15:37:56 +0530 Subject: [PATCH] stream_settings: Add settings_select class to select elements. This commit adds settings_select class to select elements in stream settings, such that we can add CSS using this class and not using "select" as selector so that we can easily add a select element in future with different CSS if needed. --- static/styles/subscriptions.css | 2 +- static/templates/stream_settings/stream_types.hbs | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/static/styles/subscriptions.css b/static/styles/subscriptions.css index ed11e2a8fd..cd842dcf61 100644 --- a/static/styles/subscriptions.css +++ b/static/styles/subscriptions.css @@ -985,7 +985,7 @@ div.settings-radio-input-parent { } } - select { + .settings_select { /* Match .setting_desktop_icon_count_display */ width: 325px; height: fit-content; diff --git a/static/templates/stream_settings/stream_types.hbs b/static/templates/stream_settings/stream_types.hbs index 5afae0a2c9..1d87ffd8c4 100644 --- a/static/templates/stream_settings/stream_types.hbs +++ b/static/templates/stream_settings/stream_types.hbs @@ -31,7 +31,7 @@ - {{#each stream_post_policy_values}}