Skip to content

Commit d1213f7

Browse files
committed
style: update code preview style.
1 parent 9999801 commit d1213f7

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

core/src/styles.css

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,7 @@
4242
background-image: none;
4343
}
4444
.w-rcpl-preview {
45+
white-space: pre-wrap;
4546
background: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg'%3E%3Cpattern id='a' width='16' height='16' patternUnits='userSpaceOnUse'%3E%3Cpath fill='rgba(0, 0, 0, 0.06)' d='M0 0h8v8H0zm8 8h8v8H8z'/%3E%3C/pattern%3E%3Crect fill='url(%23a)' width='100%25' height='100%25'/%3E%3C/svg%3E")
4647
}
4748
.w-rcpl-preview, .w-rcpl-code {

0 commit comments

Comments
 (0)