fix: guard mobile chat sidebar overlay

This commit is contained in:
Peter Steinberger
2026-01-12 03:29:20 +00:00
parent 6a012fd625
commit 478a543e2e
2 changed files with 32 additions and 4 deletions

View File

@@ -96,7 +96,7 @@
/* Mobile: Full-screen modal */
@media (max-width: 768px) {
.chat-split-container {
.chat-split-container--open {
position: fixed;
top: 0;
left: 0;
@@ -105,14 +105,13 @@
z-index: 1000;
}
.chat-main {
.chat-split-container--open .chat-main {
display: none; /* Hide chat on mobile when sidebar open */
}
.chat-sidebar {
.chat-split-container--open .chat-sidebar {
width: 100%;
min-width: 0;
border-left: none;
}
}