From 12c829032f2d5ea1df75c7da8783b3edb7e6f622 Mon Sep 17 00:00:00 2001 From: Maria A Nunez Date: Tue, 25 Jul 2023 21:59:10 -0400 Subject: [PATCH] Fix user is typing font size (#24096) * Fix user is typing font size * PR feedback --------- Co-authored-by: Mattermost Build --- .../advanced_text_editor/advanced_text_editor.scss | 2 +- webapp/channels/src/sass/components/_post-right.scss | 7 +++---- webapp/channels/src/sass/components/_post.scss | 2 +- 3 files changed, 5 insertions(+), 6 deletions(-) diff --git a/webapp/channels/src/components/advanced_text_editor/advanced_text_editor.scss b/webapp/channels/src/components/advanced_text_editor/advanced_text_editor.scss index a67274ea2d..7fc17a7fa2 100644 --- a/webapp/channels/src/components/advanced_text_editor/advanced_text_editor.scss +++ b/webapp/channels/src/components/advanced_text_editor/advanced_text_editor.scss @@ -209,7 +209,7 @@ overflow: hidden; height: 20px; margin-bottom: 5px; - font-size: 0.95em; + font-size: 11px; opacity: 0.7; text-overflow: ellipsis; white-space: nowrap; diff --git a/webapp/channels/src/sass/components/_post-right.scss b/webapp/channels/src/sass/components/_post-right.scss index c5784a917d..f5915b397f 100644 --- a/webapp/channels/src/sass/components/_post-right.scss +++ b/webapp/channels/src/sass/components/_post-right.scss @@ -160,11 +160,10 @@ min-width: 1px; max-width: 230px; height: 20px; - margin-top: 4px; - margin-bottom: 0; + margin: 2px 0; float: left; - font-size: 13px; - line-height: 20px; + font-size: 11px; + line-height: 16px; opacity: 0.7; } diff --git a/webapp/channels/src/sass/components/_post.scss b/webapp/channels/src/sass/components/_post.scss index f3be0862d9..76374c90e6 100644 --- a/webapp/channels/src/sass/components/_post.scss +++ b/webapp/channels/src/sass/components/_post.scss @@ -479,7 +479,7 @@ overflow: hidden; height: 20px; margin: 2px 0; - font-size: 10px; + font-size: 11px; line-height: 16px; opacity: 0.7; text-overflow: ellipsis;