From 8fa6f87dc2e9435a30eda1ecb23595b1cd0f536c Mon Sep 17 00:00:00 2001 From: trashtemp <96388163+trashtemp@users.noreply.github.com> Date: Sat, 15 Jan 2022 17:37:56 +0100 Subject: [PATCH] fix(messagebox): fixed padding 2 --- src/components/common/messaging/MessageBox.tsx | 4 ++++ src/styles/_variables.scss | 6 +++--- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/src/components/common/messaging/MessageBox.tsx b/src/components/common/messaging/MessageBox.tsx index bcf22db7..b46b34c1 100644 --- a/src/components/common/messaging/MessageBox.tsx +++ b/src/components/common/messaging/MessageBox.tsx @@ -81,6 +81,10 @@ const Blocked = styled.div` flex-grow: 1; cursor: not-allowed; + .text { + padding: var(--message-box-padding); + } + > div > div { cursor: default; } diff --git a/src/styles/_variables.scss b/src/styles/_variables.scss index 7bf369bf..223588c9 100644 --- a/src/styles/_variables.scss +++ b/src/styles/_variables.scss @@ -30,10 +30,10 @@ --input-border-width: 2px; --textarea-padding: 16px; --textarea-line-height: 20px; - --message-box-padding: 14px; + --message-box-padding: 14px 14px 14px 0; - --attachment-max-width: 480px; - --attachment-max-height: 640px; + --attachment-max-width: 400px; + --attachment-max-height: 300px; --attachment-default-width: 400px; --attachment-max-text-width: 800px;