Skip to content

Commit ca09aec

Browse files
authored
Merge pull request #464 from janhq/bug/fix-overflow-chat-box
bug: fix overflow scroll horizontal message
2 parents f479d42 + 79aa819 commit ca09aec

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

web/styles/code-block.scss

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -54,14 +54,14 @@
5454

5555
.hljs {
5656
display: block;
57-
// overflow-x: auto;
57+
overflow-x: auto;
5858
background: #2b2b2b;
5959
color: #f8f8f2;
6060
padding: 0.5em;
6161
border-radius: 0.4rem;
6262
margin-top: 1rem;
6363
margin-bottom: 1rem;
64-
// white-space: pre-wrap;
64+
white-space: pre-wrap;
6565
}
6666

6767
.hljs-emphasis {

0 commit comments

Comments
 (0)