Skip to content

Commit c459e71

Browse files
committed
Minor font tuning for chat messages #924
1 parent aa1abdb commit c459e71

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

src/component/chat-box/chat-message.css

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ pre {
2020
margin: 0;
2121
padding: 0;
2222
font-family: inherit;
23+
font-size: var(--sl-font-size-medium);
2324
white-space: pre-wrap;
2425
}
2526

@@ -40,9 +41,11 @@ pre {
4041
.reply-message-boxed {
4142
font-size: var(--sl-font-size-x-small);
4243
background: var(--sl-color-gray-100);
44+
box-shadow: var(--sl-shadow-medium);
4345
width: 100%;
4446
border-radius: 3px;
4547
border-left: 3px solid var(--sl-color-neutral-500);
48+
margin-bottom: 0.25rem;
4649
}
4750
.reply-message-content {
4851
overflow-wrap: break-word;

src/component/chat-form/chat-form.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ form pre {
4242
margin: 0;
4343
padding: 0;
4444
font-family: inherit;
45-
font-size: small;
45+
font-size: var(--sl-font-size-medium);
4646
white-space: pre-wrap;
4747
}
4848

0 commit comments

Comments
 (0)