From fa494418ebad30ecf8f60b987943868ba9e68d8b Mon Sep 17 00:00:00 2001 From: Ben Halpern Date: Wed, 18 Mar 2020 11:19:04 -0400 Subject: [PATCH] Fix /connect message composer style bugs (#6695) [deploy] --- app/assets/stylesheets/chat.scss | 8 +++++--- .../chat/__tests__/__snapshots__/chat.test.jsx.snap | 2 +- .../chat/__tests__/__snapshots__/compose.test.jsx.snap | 2 +- app/javascript/chat/compose.jsx | 4 ++-- 4 files changed, 9 insertions(+), 7 deletions(-) diff --git a/app/assets/stylesheets/chat.scss b/app/assets/stylesheets/chat.scss index 044a02883..6124a34aa 100644 --- a/app/assets/stylesheets/chat.scss +++ b/app/assets/stylesheets/chat.scss @@ -1015,23 +1015,25 @@ .messagecomposer__input { border-radius: 3px; font-size: 16px; - margin: 6px 2px 6px 6px; - padding: 5px; + margin: 4px 2px 4px 6px; + padding: 4px; resize: none; flex-grow: 1; + height: 42px; @include themeable(background, theme-container-background, white); @include themeable(border, theme-border, 1px solid $outline-color); @include themeable(color, theme-color, $black); } .messagecomposer__submit { - margin: 6px 6px 6px 0; + margin: 4px 6px 4px 0; border-radius: 3px; background: $dark-purple; font-weight: 600px; font-family: $helvetica-condensed; color: white; font-size: 18px; + border: 0px; @media screen and (min-width: 500px) { width: 80px; diff --git a/app/javascript/chat/__tests__/__snapshots__/chat.test.jsx.snap b/app/javascript/chat/__tests__/__snapshots__/chat.test.jsx.snap index f7145b871..33eb91fdd 100644 --- a/app/javascript/chat/__tests__/__snapshots__/chat.test.jsx.snap +++ b/app/javascript/chat/__tests__/__snapshots__/chat.test.jsx.snap @@ -266,7 +266,7 @@ exports[` should load chat 1`] = ` placeholder="Message goes here" />