From d9ad4181956c99f4ed9bf62745dae18cb22f7451 Mon Sep 17 00:00:00 2001 From: Skoh <101289702+SkohTV@users.noreply.github.com> Date: Tue, 23 Jun 2026 16:20:17 -0400 Subject: [PATCH] feat(ui): add toggle for padding around chat area (#4691) --- static/app.js | 4 +++- static/index.html | 5 +++++ static/style.css | 6 ++++++ 3 files changed, 14 insertions(+), 1 deletion(-) diff --git a/static/app.js b/static/app.js index 1f0390a37..84e6c8c6e 100644 --- a/static/app.js +++ b/static/app.js @@ -2418,7 +2418,7 @@ function initializeEventListeners() { }; // Keys hidden by default on first run (no localStorage yet) - const UI_VIS_DEFAULT_OFF = new Set(['models-section', 'rag-toggle-btn', 'text-emojis']); + const UI_VIS_DEFAULT_OFF = new Set(['models-section', 'rag-toggle-btn', 'text-emojis', 'chat-fullwidth']); // Keys that need admin to toggle off (reserved for future use) const UI_VIS_ADMIN_ONLY = new Set([]); @@ -2451,6 +2451,8 @@ function initializeEventListeners() { applyTextEmojis(state['text-emojis'] === true); // Hide thinking sections toggle (show-thinking: checked=show, unchecked=hide) document.body.classList.toggle('hide-thinking', state['show-thinking'] === false); + // Fullwidth chat toggle (chat-fullwidth: checked=fullwidth, unchecked=big-padding + document.body.classList.toggle('fullwidth-chat', state['chat-fullwidth'] === true); } // Rearrange toggles in session/model sort dropdowns diff --git a/static/index.html b/static/index.html index 3718e50ae..28bb250c4 100644 --- a/static/index.html +++ b/static/index.html @@ -1820,6 +1820,11 @@ Session Header Model name & export above chat +