Enhance ChatWidget styles for responsive design. Added media queries to adjust positioning and dimensions of the chat wrap and panel for better usability on smaller screens.

This commit is contained in:
Mekan1206
2026-08-16 19:35:56 +05:00
parent 9e555a8c57
commit c270f9db86

View File

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