Zulip server and web application. Open-source team chat that helps teams stay productive and focused.
message_header: Avoid hiding icons on smaller widths.
apoorvapendseb65d44008ce6
diff --git a/web/src/css_variables.ts b/web/src/css_variables.tsindex 00b5866bbb0..daef70b2fa5 100644--- a/web/src/css_variables.ts+++ b/web/src/css_variables.ts@@ -22,9 +22,6 @@ const base_em_px = 16;// em to user-chosen font-size.const settings_overlay_sidebar_collapse_breakpoint = 800;-// Breakpoint for hiding message action buttons-const message_actions_hide_width = 730;-export const media_breakpoints = {xs_min: xs + "px",sm_min: sm + "px",@@ -38,7 +35,6 @@ export const media_breakpoints = {short_navbar_cutoff_height: "600px",settings_overlay_sidebar_collapse_breakpoint:settings_overlay_sidebar_collapse_breakpoint / 14 + "em",- message_actions_hide_width_min: message_actions_hide_width + "px",};export const container_breakpoints = {@@ -49,7 +45,6 @@ export const container_breakpoints = {cq_ml_min: ml / base_em_px + "em",cq_sm_min: sm / base_em_px + "em",cq_mm_min: mm / base_em_px + "em",- cq_message_actions_hide_width_min: message_actions_hide_width / base_em_px + "em",};export const media_breakpoints_num = {@@ -63,5 +58,4 @@ export const media_breakpoints_num = {mm,ms,settings_overlay_sidebar_collapse_breakpoint,- message_actions_hide_width,};diff --git a/web/styles/message_header.css b/web/styles/message_header.cssindex 0266e422558..fce96b45732 100644--- a/web/styles/message_header.css+++ b/web/styles/message_header.css@@ -328,46 +328,6 @@}}-@container message-lists (width < $cq_message_actions_hide_width_min) {- .recipient_bar_controls {- /* We don't want the controls container to occupy the space freed- up by hiding the message action icons so it can be- utilized to show more of the topic */- flex-grow: 0;- margin-right: auto;-- .recipient-bar-control {- display: none;-- /* Always show the vdots */- &.recipient-row-topic-menu {- display: block;- }- }- }-}--@media (width < $message_actions_hide_width_min) {- .without-container-query-support {- .recipient_bar_controls {- /* We don't want the controls container to occupy the space freed- up by hiding the message action icons so it can be- utilized to show more of the topic */- flex-grow: 0;- margin-right: auto;-- .recipient-bar-control {- display: none;-- /* Always show the vdots */- &.recipient-row-topic-menu {- display: block;- }- }- }- }-}-.spectator-view .recipient_bar_controls .recipient-bar-control {&.recipient-bar-copy-link-to-topic {display: flex;