Chat panel overflows horizontally when VS Code zoom level is increased (Cmd/Ctrl + +)
Los mantenedores suelen responder en 8 días
Evaluación
- Dificultad
- 2/5
- Tiempo estimado
- 1-3 horas
- Aptitud para principiantes
- 80/100
- Tipo de issue
- Error
- Claridad
- Bien especificado
- Estado de actividad
- Activo
- Stack tecnológico
- css, typescript
- Área
- frontend
Línea de trabajo
El overflow es un problema de layout en la hoja de estilos del webview de GUI gui/assets/index.css: .thread-message no tiene reglas, y los ancestros flex usan min-width: auto por defecto. Encuentra los componentes del hilo de chat y sus contenedores flex, luego añade min-width: 0 más restricciones de max-width/overflow como sugiere el issue, manteniendo los bloques de código desplazables dentro de su propio contenedor. Verifica abriendo el panel de chat en VS Code y haciendo zoom a + y ++; en cada nivel el contenido debería ajustarse o desplazarse internamente sin ensanchar la barra lateral.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
Before submitting your bug report
- I've tried finding an answer on the Continue docs site
- I'm not able to find an open issue that reports the same bug
- I've seen the troubleshooting guide on the Continue Docs
Relevant environment info
- OS:
- Continue version:
- IDE version:
- Model:
- config:
OR link to agent in Continue hub:
Description
Summary
When the VS Code window is zoomed in (Cmd/Ctrl + +), the Continue chat webview overflows horizontally and the content breaks out of the panel / sidebar container. At 100% zoom everything renders correctly. This happens at roughly + and ++ zoom levels and gets worse at higher levels.
Environment
- Continue version: 2.0.0 (
continue.continue-2.0.0-darwin-x64) - VS Code: latest
- OS: macOS (also reproducible on Windows/Linux, zoom behavior is the same)
- Surface: VS Code Webview sidebar/panel chat
Steps to reproduce
- Open the Continue chat panel in the VS Code sidebar/panel.
- Open any conversation (new or history — the issue is layout-related, not data-related).
- Press
Cmd + +(macOS) /Ctrl + +(Windows/Linux) to zoom the window in about 2 levels. - Observe the chat content overflowing horizontally outside the panel bounds.
Expected behavior
The chat content should stay within the panel width at any zoom level (wrap long lines, scroll code blocks horizontally inside their container, never widen the surrounding layout).
Actual behavior
At zoom levels ≥ ~+, layout containers get pushed wider than the viewport and content overflows horizontally. Zooming back to 100% restores normal rendering.
Root cause (from inspecting the bundled GUI)
- The extension does not appear to handle VS Code's zoom / device pixel scaling at all (no
zoomLevelhandling inout/extension.jsor the gui bundle). - The layout uses flex containers without
min-width: 0. Flex items default tomin-width: auto, so long/unbreakable content (long lines, code, base64, terminal output) cannot shrink and widens the whole flex chain — which is especially visible under zoom. - The message body container
.thread-messagehas no CSS rules at all ingui/assets/index.css, so its width/overflow behavior is unconstrained.
Suggested fix
Add constraints so flex containers can shrink and long content can wrap, e.g.:
html, body, #root, #root > * {
width: 100%;
max-width: 100%;
min-width: 0;
overflow-x: hidden;
box-sizing: border-box;
}
#root [class*="flex"] { min-width: 0; }
#root [class*="overflow"] { min-width: 0; max-width: 100%; }
.thread-message {
min-width: 0;
max-width: 100%;
overflow-x: hidden;
overflow-wrap: anywhere;
word-break: break-word;
}
.thread-message pre { max-width: 100%; overflow-x: auto; display: block; }
The key part is min-width: 0 on flex items — without it, max-width: 100% alone does not prevent overflow under zoom.
Verification
Applying the CSS above (only min-width: 0 + wrap/overflow constraints, no layout redesign) fully fixes the overflow at all zoom levels, confirming it is a CSS/layout-adaptation issue rather than a data or logic problem.
To reproduce
No response
Log output
- Lenguaje dominante
- TypeScript
- Estrellas
- 36.5k
- Forks
- 5.6k
- Métricas de merge de PR
- Sin PR fusionados en 30 d
Preparar el entorno
- Sin Dockerfile ni archivo de Docker Compose
- Tiene una plantilla de pull request
- Leer la guía de contribución
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de continuedev/continue
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 67/100
continuedev/continue#13486 ·
Los mantenedores suelen responder en 8 días
-
Docs: show tool selection for a shared remote MCP endpointPosiblemente ocupada Un pull request vinculado a esta issue está abierto o ya se fusionó. Abierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 84/100
continuedev/continue#13464 · 1 comentario ·
Los mantenedores suelen responder en 8 días
-
Inline code becomes unreadable in VS Code high-contrast themesPosiblemente ocupada @aminesayagh la tomó hace 21 días. Abierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 63/100
continuedev/continue#13424 ·
Los mantenedores suelen responder en 8 días
-
create_new_file writes a JSON file on one line when the model sends its contents as a JSON valuePosiblemente ocupada Un pull request vinculado a esta issue está abierto o ya se fusionó. Abierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
continuedev/continue#13363 ·
Los mantenedores suelen responder en 8 días
-
Dificultad 1/5 Menos de una hora Aptitud para principiantes 66/100
continuedev/continue#13352 ·
Los mantenedores suelen responder en 8 días
Todos los issues de continuedev/continue
Issues similares
-
clawsweeper:fix-shape-clear clawsweeper:queueable-fix clawsweeper:source-repro impact:ux-friction issue-rating: 🦞 diamond lobster no-stale P3
Dificultad 2/5 1-3 horas Aptitud para principiantes 82/100
openclaw/openclaw#200365 · 1 comentario · 1 reacción ·
Los mantenedores suelen responder en 1 día
-
effort: small good first issue priority: medium testing
Dificultad 2/5 1-3 horas Aptitud para principiantes 84/100
TMHSDigital/screencast-mcp#351 ·
Los mantenedores suelen responder en 1 día
-
area-templates triage:bot-seen triage:needs-human
Dificultad 2/5 1-3 horas Aptitud para principiantes 75/100
microsoft/aspire#22356 · 1 comentario ·
Los mantenedores suelen responder en 1 día
-
Archiving an agent that is not loaded keeps its old updatedAtPosiblemente ocupada @luoph la tomó hoy. Abierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 68/100
Los mantenedores suelen responder en 1 día
-
content triage
Dificultad 1/5 Menos de una hora Aptitud para principiantes 88/100
Los mantenedores suelen responder en 1 día