Zulip server and web application. Open-source team chat that helps teams stay productive and focused.
info_density: Recalculate timestamp widths on density dispatch events.
Karl Stolleye2352406857f
diff --git a/web/src/server_events_dispatch.js b/web/src/server_events_dispatch.jsindex cf0df040df3..14b1439b8c4 100644--- a/web/src/server_events_dispatch.js+++ b/web/src/server_events_dispatch.js@@ -777,12 +777,14 @@ export function dispatch_normal_event(event) {$("body").toggleClass("less-dense-mode");$("body").toggleClass("more-dense-mode");information_density.set_base_typography_css_variables();+ information_density.calculate_timestamp_widths();}if (event.property === "web_font_size_px" ||event.property === "web_line_height_percent") {information_density.set_base_typography_css_variables();+ information_density.calculate_timestamp_widths();}if (event.property === "web_mark_read_on_scroll_policy") {unread_ui.update_unread_banner();