mirror of https://github.com/zulip/zulip.git
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:
parent
746042915a
commit
fde8b2d2e0
|
@ -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);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue