Zulip server and web application. Open-source team chat that helps teams stay productive and focused.
resize: Let bottom_whitespace_height be optional.
evykassirer59340818012d
diff --git a/web/src/resize.ts b/web/src/resize.tsindex 4e112811bf7..7f95babcc76 100644--- a/web/src/resize.ts+++ b/web/src/resize.ts@@ -80,7 +80,7 @@ export function watch_manual_resize(element: string): (() => void)[] | undefinedreturn [box_handler, body_handler];}-export function reset_compose_message_max_height(bottom_whitespace_height: number): void {+export function reset_compose_message_max_height(bottom_whitespace_height?: number): void {// If the compose-box is open, we set the `max-height` property of// `compose-textarea` and `preview-textarea`, so that the// compose-box's maximum extent does not overlap the last message