From 94af404748f09987874a3318602dc94985c4beff Mon Sep 17 00:00:00 2001 From: Alexander Zinchuk Date: Thu, 15 Jul 2021 21:50:35 +0300 Subject: [PATCH] Modal: Fix horizontal overflow (#1282) --- src/components/middle/composer/TextFormatter.scss | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/components/middle/composer/TextFormatter.scss b/src/components/middle/composer/TextFormatter.scss index 1eddb5ec4..f6a7e40a0 100644 --- a/src/components/middle/composer/TextFormatter.scss +++ b/src/components/middle/composer/TextFormatter.scss @@ -16,6 +16,10 @@ pointer-events: none; transition: opacity .3s ease; + .Modal & { + max-width: 100%; + } + @media (max-width: 600px) { max-width: calc(100vw - var(--text-formatter-left) + 3rem); } @@ -45,6 +49,7 @@ &-link-url-input-wrapper { width: 20rem; position: relative; + max-width: 100%; @media (max-width: 600px) { max-width: 90vw;