Skip to content
Merged
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
18 changes: 13 additions & 5 deletions src/styles/messages.css
Original file line number Diff line number Diff line change
Expand Up @@ -1052,8 +1052,10 @@
border-radius: 10px;
background: var(--surface-command);
overflow: hidden;
box-shadow: 0 10px 20px rgba(0, 0, 0, 0.14);
margin: 6px 0;
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
margin: 8px 0;
width: 100%;
max-width: 100%;
}

.message .markdown-codeblock-header {
Expand Down Expand Up @@ -1097,25 +1099,31 @@
padding: 10px 12px 12px;
white-space: pre;
overflow-x: auto;
width: 100%;
max-width: none;
box-sizing: border-box;
font-family: var(--code-font-family);
font-size: var(--code-font-size, 11px);
font-weight: var(--code-font-weight, 400);
line-height: var(--code-line-height, 1.28);
}

.message .markdown-codeblock-single {
margin: 6px 0;
margin: 8px 0;
padding: 10px 12px 12px;
border: 1px solid var(--border-stronger);
border-radius: 10px;
background: var(--surface-command);
white-space: pre;
overflow-x: auto;
width: 100%;
max-width: none;
box-sizing: border-box;
font-family: var(--code-font-family);
font-size: var(--code-font-size, 11px);
font-weight: var(--code-font-weight, 400);
line-height: var(--code-line-height, 1.28);
box-shadow: 0 10px 20px rgba(0, 0, 0, 0.14);
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.message .markdown-codeblock-single code {
Expand Down Expand Up @@ -1173,7 +1181,7 @@
margin: 0;
}

.message.assistant .markdown :where(p, ul, ol, pre, blockquote) {
.message.assistant .markdown :where(p, ul, ol, blockquote) {
max-width: 94ch;
}

Expand Down
Loading