settings: Fix input field overflowing in channel and group edit UI.

Name input for stream and group edit modal was too wide in narrow
width screens and overflowed the modal. This commit adds CSS to
make sure that maximum width of input field is set to fit inside
the modal respecting the modal container paddings on narrow width
screens.

Fixes #35301.
This commit is contained in:
Sahil Batra
2025-09-30 09:17:56 +05:30
committed by Tim Abbott
parent 31f8dcba6c
commit e3fb292fb1

View File

@@ -783,3 +783,9 @@ ul.modal-options-list {
background: var(--color-background-active-popover-menu);
}
}
#change_stream_name,
#change_user_group_name {
/* 14px = 2 * 6px + 2 * 1px (6px padding and 1px border on left and right). */
max-width: calc(100% - 14px);
}