From 6d0c2c6a57b30f2d0bbc137f29440abe5149d8b5 Mon Sep 17 00:00:00 2001 From: Karl Stolley Date: Wed, 20 Sep 2023 10:50:48 -0500 Subject: [PATCH] message_feed: Alot controls-column space to forms in edit/source view. See CZO discussion: https://chat.zulip.org/#narrow/stream/101-design/topic/adjusting.20the.20message-edit.20form/near/1643675 --- web/styles/message_row.css | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/web/styles/message_row.css b/web/styles/message_row.css index a57dd4fe94..dfbaf6d434 100644 --- a/web/styles/message_row.css +++ b/web/styles/message_row.css @@ -143,6 +143,15 @@ $time_column_min_width: 42px; /* + padding */ ". more . . . " ". reactions . . . "; + &.content_edit_mode { + /* Set the controls area to 0 to give more space + to the edit/source view area. */ + grid-template-columns: $avatar_column_width minmax(0, 1fr) 0 8px minmax( + $time_column_min_width, + max-content + ); + } + @media (width < $sm_min), ((width >= $md_min) and (width < $mc_min)) { grid-template-columns: $avatar_column_width minmax(0, 1fr) calc(