mirror of
https://github.com/zulip/zulip.git
synced 2026-07-06 21:18:58 +08:00
The CSS properties used to make the `#compose-textarea` full-size were missing for the `#preview_message_area`, thus, it was just getting to the height as specified in the `max-height` property of `#preview_compose_box`. Adding the missing CSS properties resolved the problem, but only for not-too-long messages. For very-long messages, the preview message area was overflowing the parent container (attaining the maximum height possible according to the content, due to the absence of max-height), which led to the controls below compose-box to disappear. Adding an additional property of `height: 1.5em` solved this problem, as if a height lower than min-height is set to an element, it attains its min-height. Tested manually on my Ubuntu Development environment. Fixes: #19243. |
||
|---|---|---|
| .. | ||
| assets | ||
| audio | ||
| generated | ||
| html | ||
| images | ||
| js | ||
| shared | ||
| styles | ||
| templates | ||
| third | ||
| .gitignore | ||