From 377e97980010919b2d06a7f032e0b2c5ca5eea59 Mon Sep 17 00:00:00 2001 From: Debanjum Singh Solanky Date: Sun, 7 Apr 2024 22:01:43 +0530 Subject: [PATCH] Make current chat expand to full width when session panel collapsed This behavior also matches web client behavior on chat session panel collapse --- src/interface/desktop/chat.html | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/src/interface/desktop/chat.html b/src/interface/desktop/chat.html index 0a19fe3d..732e8803 100644 --- a/src/interface/desktop/chat.html +++ b/src/interface/desktop/chat.html @@ -1062,8 +1062,6 @@ document.getElementById('new-conversation').classList.toggle('collapsed'); document.getElementById('existing-conversations').classList.toggle('collapsed'); document.getElementById('side-panel-collapse').style.transform = document.getElementById('side-panel').classList.contains('collapsed') ? 'rotate(0deg)' : 'rotate(180deg)'; - - document.getElementById('chat-section-wrapper').classList.toggle('mobile-friendly'); } @@ -1190,7 +1188,7 @@ #chat-section-wrapper { display: grid; - grid-template-columns: auto auto; + grid-template-columns: auto 1fr; grid-column-gap: 10px; grid-row-gap: 10px; padding: 10px; @@ -1198,10 +1196,6 @@ overflow-y: scroll; } - #chat-section-wrapper.mobile-friendly { - grid-template-columns: auto auto; - } - #chat-body-wrapper { display: flex; flex-direction: column;