Skip to content

Commit

Permalink
fix chat message align
Browse files Browse the repository at this point in the history
  • Loading branch information
ahuang11 committed Dec 19, 2024
1 parent ad154df commit 7e741d0
Showing 1 changed file with 17 additions and 1 deletion.
18 changes: 17 additions & 1 deletion panel/dist/css/chat_message.css
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@
width: fit-content;
display: flex;
align-items: center;
justify-content: center;
justify-content: left;
overflow-wrap: anywhere;
word-break: break-word;
}
Expand Down Expand Up @@ -147,3 +147,19 @@
font-size: 1.25em;
line-height: 0.9em;
}

pre {
white-space: pre-wrap;
word-wrap: break-word;
overflow-wrap: break-word;
}

p {
overflow-wrap: break-word;
}

code {
white-space: pre-wrap;
word-wrap: break-word;
overflow-wrap: break-word;
}

0 comments on commit 7e741d0

Please sign in to comment.