Skip to content

Commit

Permalink
perf(style): add !important for white-space css in code block (#467)
Browse files Browse the repository at this point in the history
Signed-off-by: qwqcode <[email protected]>
  • Loading branch information
qwqcode authored Mar 19, 2023
1 parent 848969e commit 1be2ad4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ui/packages/artalk/src/style/main.scss
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@
line-height: $line-height;
display: block;
padding: 10px 15px;
white-space: pre-wrap;
white-space: pre-wrap !important;
background-color: var(--at-color-bg-grey);
color: var(--at-color-font);
margin: 0;
Expand Down

0 comments on commit 1be2ad4

Please sign in to comment.