zulip/static
Priyansh Garg 9fe61944e9 compose: Fix compose-preview size in expanded mode.
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.
2021-07-22 12:51:04 -07:00
..
assets zulip-icon: Add zulip-icon as classPrefix for icon. 2021-04-29 09:02:25 -07:00
audio notificaiton_sounds: Add some atonal sounds created by @stwime. 2021-02-05 12:28:20 -08:00
generated
html templates: Mark all void tags as self-closing. 2021-04-21 09:49:34 -07:00
images for-events: Change header image. 2021-07-22 12:03:35 -07:00
js Revert "message_edit: Replace checkboxes with settings_checkbox partial." 2021-07-22 11:07:49 -07:00
shared shared: Bump version to 0.0.6. 2021-06-15 14:40:58 -07:00
styles compose: Fix compose-preview size in expanded mode. 2021-07-22 12:51:04 -07:00
templates move_topic: Toggle checkbox by clicking it's label as well. 2021-07-22 11:07:49 -07:00
third third: Prevent typeahead from going off top of screen. 2021-07-07 16:47:30 -07:00
.gitignore dependencies: Replace moment.js with date-fns. 2021-02-05 11:04:32 -08:00