Skip to content

Commit

Permalink
fix: make code blocks more discrete
Browse files Browse the repository at this point in the history
  • Loading branch information
valeriansaliou committed Aug 2, 2024
1 parent 8c1fa5f commit 749406c
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/messaging/components/message/message.css
Original file line number Diff line number Diff line change
Expand Up @@ -343,6 +343,12 @@
border-radius: 4px;
}

.message-text-inner pre {
width: fit-content;
min-width: 40%;
max-width: 100%;
}

.message-text-inner pre code {
color: var(--color-code-text);
background-color: var(--color-code-background);
Expand Down

0 comments on commit 749406c

Please sign in to comment.