From fde8b2d2e049d45bed7893ec6b3695eec2ca63d5 Mon Sep 17 00:00:00 2001 From: Sahil Batra Date: Thu, 17 Oct 2024 17:33:13 +0530 Subject: [PATCH] stream_creation: Fix subscriber pills being too long. The CSS for setting min-width was added in 63a7c9061ba to set the width of pill containers used for group settings, but that also applied to pill containers of subscribers in stream creation form. This commit updates the CSS to be applied only for settings in groups UI. --- web/styles/subscriptions.css | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/web/styles/subscriptions.css b/web/styles/subscriptions.css index e9de465a92..3767a4eb48 100644 --- a/web/styles/subscriptions.css +++ b/web/styles/subscriptions.css @@ -1102,20 +1102,20 @@ div.settings-radio-input-parent { display: inline; } } +} - .pill-container { - /* 319px + 2 * (2px padding) + 2 * (1px border) = 325px, which is the total - width of dropdown widget buttons */ - min-width: 319px; - background-color: hsl(0deg 0% 100%); +.group-permissions .pill-container { + /* 319px + 2 * (2px padding) + 2 * (1px border) = 325px, which is the total + width of dropdown widget buttons */ + min-width: 319px; + background-color: hsl(0deg 0% 100%); - .input { - flex-grow: 1; + .input { + flex-grow: 1; - &:first-child:empty::before { - opacity: 0.5; - content: attr(data-placeholder); - } + &:first-child:empty::before { + opacity: 0.5; + content: attr(data-placeholder); } } }