Skip to content

Commit

Permalink
fix: respect line break and improve text style
Browse files Browse the repository at this point in the history
  • Loading branch information
pionxzh committed Mar 7, 2023
1 parent 6739500 commit c9e60bc
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion packages/userscript/src/template.html
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@
}

body {
font-family: sans-serif;
font-family: Söhne,ui-sans-serif,system-ui,-apple-system,Segoe UI,Roboto,Ubuntu,Cantarell,Noto Sans,sans-serif,Helvetica Neue,Arial,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji;
font-size: 14px;
line-height: 1.5;
color: var(--page-text);
Expand Down Expand Up @@ -395,6 +395,11 @@
line-height: 1.5;
}

.conversation-content p {
white-space: pre-wrap;
line-height: 28px;
}

.conversation-content img, .conversation-content video {
display: block;
max-width: 100%;
Expand Down

0 comments on commit c9e60bc

Please sign in to comment.