mirror of
https://github.com/l0ng-ai/openidea.git
synced 2026-11-24 08:03:19 +00:00
feat(agents): add "Fit conversation to the window width" chat setting (#3455)
Settings › Agents › Chat › Conversation gets an opt-in toggle (agents.fitWindowWidth, off by default). When on, the conversation stream, composer, question card, user message bubbles and the New Task page drop their max-width caps and follow the pane width; when off, the readable 900 px column stays. Co-authored-by: dengliu <5108773+dengliu@users.noreply.github.com>
This commit is contained in:
@@ -66,6 +66,19 @@
|
||||
.withChanges {
|
||||
grid-template-columns: minmax(min(240px, 50%), 1fr) minmax(0, var(--agent-changes-width, 280px));
|
||||
}
|
||||
.fitWidth .stream > * {
|
||||
width: 100%;
|
||||
}
|
||||
.fitWidth .userMessage > .user {
|
||||
max-width: var(--session-card-width);
|
||||
}
|
||||
.fitWidth .composerArea {
|
||||
max-width: none;
|
||||
}
|
||||
.fitWidth .questionCard {
|
||||
width: calc(100% - var(--space-3) * 2);
|
||||
max-width: none;
|
||||
}
|
||||
|
||||
.providerIcon {
|
||||
color: var(--fg-muted);
|
||||
|
||||
Reference in New Issue
Block a user