settings: Increase width of setting dropdown widget buttons.

We now do not restrict the width of dropdown widget buttons
so that the width can be increased when the font size increases
and also if the option selected is long due to langauge.

We have similar behavior for the select element except that
the width of select element is set according to the longest
option while for dropdown widgets the button width is set
as per the current selected value.

This change is only for group-based setting dropdowns in
organization, stream and group settigs.
This commit is contained in:
Sahil Batra 2024-07-04 19:30:37 +05:30 committed by Tim Abbott
parent ec2d280b7b
commit 5704bf72e0
2 changed files with 3 additions and 1 deletions

View File

@ -859,7 +859,8 @@ input[type="checkbox"] {
#organization-permissions {
.dropdown-widget-button {
width: 325px;
min-width: 325px;
width: auto;
color: hsl(0deg 0% 33%);
}
}

View File

@ -1061,6 +1061,7 @@ div.settings-radio-input-parent {
margin-bottom: 20px;
min-width: 325px;
max-width: 100%;
width: auto;
height: 30px;
}