zulip/static
Lauryn Menard 95aa9a4f83 compose-box: Remove reset max-height calculation for preview click.
Removes call to reset_compose_message_max_height when clicking on
the markdown preview button, which due to the `#compose` div element
momentarily shrinking to be empty, caused the calculation of the
max-height to grow larger on each click.

Also refactors reset_compose_message_max_height to use the height
from `getBoundingClientRect`, which defaults to zero when empty.

And fixes a small discrepancy in how max-height is applied to
a div element vs a textarea element, so that the visible height
doesn't change between the preview and write modes in the compose
box.

Fixes #23277.
2022-10-25 13:49:29 -07:00
..
assets assets: Remove license for previously deleted emoji images. 2022-06-10 12:27:48 -07:00
audio/notification_sounds audio: Remove the copy of zulip.ogg outside notification_sounds. 2022-06-10 12:27:48 -07:00
generated
html templates: Add HTML title element to templates that extend base/portico. 2022-09-19 20:17:17 -07:00
images help center: Edit "Create your organization profile" info. 2022-10-03 11:33:30 -07:00
js compose-box: Remove reset max-height calculation for preview click. 2022-10-25 13:49:29 -07:00
shared icons: Change mute icon from bell to speaker. 2022-09-09 17:32:19 -07:00
styles popovers: Avoid focus outline on \vdots when actions popover is open. 2022-10-24 10:47:56 -07:00
templates recent-topics: Update hash for view to be "#recent". 2022-10-25 11:03:44 -07:00
third css: Remove Bootstrap legend CSS. 2022-08-13 17:36:08 -07:00
.gitignore docs: Add missing space in “time zone”. 2022-02-24 14:05:12 -08:00