Skip to content

Commit 7b2314f

Browse files
Nagi-ovoclaude
andcommitted
fix(chatWidth): extend input-container gradient to match chat width
Closes #420 Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com> Entire-Checkpoint: 068a9401b89f
1 parent 7b07b6e commit 7b2314f

1 file changed

Lines changed: 14 additions & 0 deletions

File tree

src/pages/content/chatWidth/index.ts

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -200,6 +200,20 @@ function applyWidth(widthPercent: number) {
200200
max-width: ${widthValue} !important;
201201
}
202202
203+
/* Extend input-container gradient to match chat width */
204+
input-container {
205+
max-width: none !important;
206+
width: 100% !important;
207+
}
208+
209+
input-container .input-area-container,
210+
input-container input-area-v2 {
211+
max-width: ${widthValue} !important;
212+
width: min(100%, ${widthValue}) !important;
213+
margin-left: auto !important;
214+
margin-right: auto !important;
215+
}
216+
203217
/* Specific fix for user bubble background to fit content but respect max-width */
204218
.user-query-bubble-with-background {
205219
max-width: ${widthValue} !important;

0 commit comments

Comments
 (0)