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
+