stream_creation: Fix subscriber pills being too long.

The CSS for setting min-width was added in 63a7c9061b
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.
This commit is contained in:
Sahil Batra 2024-10-17 17:33:13 +05:30 committed by Tim Abbott
parent 746042915a
commit fde8b2d2e0
1 changed files with 11 additions and 11 deletions

View File

@ -1102,8 +1102,9 @@ div.settings-radio-input-parent {
display: inline;
}
}
}
.pill-container {
.group-permissions .pill-container {
/* 319px + 2 * (2px padding) + 2 * (1px border) = 325px, which is the total
width of dropdown widget buttons */
min-width: 319px;
@ -1117,7 +1118,6 @@ div.settings-radio-input-parent {
content: attr(data-placeholder);
}
}
}
}
.group-permissions .dropdown_widget_with_label_wrapper {