Modal: Fix horizontal overflow (#1282)

This commit is contained in:
Alexander Zinchuk 2021-07-15 21:50:35 +03:00
parent 06f4085aaa
commit 94af404748

View File

@ -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;