Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions i18n/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,10 @@
"Running tool…": "Running tool…",
"Still running…": "Still running…",
"Response stopped": "Response stopped",
"Cosmo is responding": "Cosmo is responding",
"Response complete": "Response complete",
"Your message": "Your message",
"Cosmo's reply": "Cosmo's reply",
"Regenerate response": "Regenerate response",
"Regenerate": "Regenerate",
"Copy as Markdown": "Copy as Markdown",
Expand Down
4 changes: 4 additions & 0 deletions i18n/es.json
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,10 @@
"Running tool…": "Ejecutando herramienta…",
"Still running…": "Aún ejecutando…",
"Response stopped": "Respuesta detenida",
"Cosmo is responding": "Cosmo está respondiendo",
"Response complete": "Respuesta completa",
"Your message": "Tu mensaje",
"Cosmo's reply": "Respuesta de Cosmo",
"Regenerate response": "Regenerar respuesta",
"Regenerate": "Regenerar",
"Copy as Markdown": "Copiar como Markdown",
Expand Down
25 changes: 19 additions & 6 deletions public/app.css
Original file line number Diff line number Diff line change
Expand Up @@ -620,6 +620,19 @@ body.is-resizing-sidebar {
50% { opacity: 0; }
}

/* Visually hidden but available to assistive technology (status live region). */
.visually-hidden {
position: absolute;
width: 1px;
height: 1px;
padding: 0;
margin: -1px;
overflow: hidden;
clip-path: inset(50%);
white-space: nowrap;
border: 0;
}
Comment thread
coderabbitai[bot] marked this conversation as resolved.

/* Messages container (injected by JS when conversation starts) */
.messages {
display: flex;
Expand Down Expand Up @@ -830,17 +843,17 @@ body.is-resizing-sidebar {
.message__body li + li { margin-top: var(--UI-Spacing-spacing-xxs); }

/* Markdown-specific styles */
.message__body.markdown h1,
.message__body.markdown h2,
.message__body.markdown h3 {
/* Semantic levels are demoted (+2) under the turn h2; --N is the author's
original markdown depth so visual weight stays the same. */
.message__body.markdown :is(h1, h2, h3, h4, h5, h6) {
margin: var(--UI-Spacing-spacing-ms) 0 var(--UI-Spacing-spacing-xs);
font-family: var(--heading-family, inherit);
font-weight: 500;
margin-top: 0 !important;
}
.message__body.markdown h1 { font-size: 1.4em; }
.message__body.markdown h2 { font-size: 1.2em; }
.message__body.markdown h3 { font-size: 1.1em; }
.message__body.markdown .message__heading--1 { font-size: 1.4em; }
.message__body.markdown .message__heading--2 { font-size: 1.2em; }
.message__body.markdown .message__heading--3 { font-size: 1.1em; }

/* Inline code */
.message__body.markdown code {
Expand Down
Loading
Loading