mirror of https://github.com/zulip/zulip.git
settings: Fix labels using full width of the modal.
Currently, the labels are using the full width of the modal, which results in a clickable area that is too large. This commit fixes the issue by setting the width of the labels to just fit its content.
This commit is contained in:
parent
8332c7d93b
commit
f1da8a9151
|
@ -391,6 +391,8 @@
|
|||
|
||||
.modal-field-label {
|
||||
margin-bottom: var(--margin-bottom-field-description);
|
||||
/* Avoid having the clickable area extend to the full width of the containing element */
|
||||
width: fit-content;
|
||||
}
|
||||
|
||||
.dropdown-widget-button {
|
||||
|
|
|
@ -1645,6 +1645,8 @@ $option_title_width: 180px;
|
|||
|
||||
.settings-field-label {
|
||||
margin-bottom: var(--margin-bottom-field-description);
|
||||
/* Avoid having the clickable area extend to the full width of the containing element */
|
||||
width: fit-content;
|
||||
}
|
||||
|
||||
.settings-profile-user-field-hint {
|
||||
|
|
|
@ -1192,6 +1192,11 @@ div.settings-radio-input-parent {
|
|||
height: inherit;
|
||||
}
|
||||
|
||||
.group-setting-label {
|
||||
/* Avoid having the clickable area extend to the full width of the containing element */
|
||||
width: fit-content;
|
||||
}
|
||||
|
||||
@media (width < $lg_min) {
|
||||
.user-groups-container,
|
||||
.subscriptions-container {
|
||||
|
|
Loading…
Reference in New Issue