diff --git a/src/components/ChatWidget/ChatWidget.module.scss b/src/components/ChatWidget/ChatWidget.module.scss index ddb8108..f12a2f5 100644 --- a/src/components/ChatWidget/ChatWidget.module.scss +++ b/src/components/ChatWidget/ChatWidget.module.scss @@ -331,14 +331,24 @@ line-height: 20px; } +@media (max-width: 1023px) { + .wrap { + right: 16px; + bottom: calc(72px + env(safe-area-inset-bottom, 0px)); + } + + .panel { + max-height: calc(100dvh - 180px); + } +} + @media (max-width: 480px) { .wrap { right: 16px; - bottom: 16px; } .panel { width: calc(100vw - 32px); - height: calc(100vh - 100px); + height: calc(100dvh - 180px); } }