瀏覽代碼
fix(style): preventing long strings from overflowing (#5934) (#6507)
bubble
Francesco Franchina
3 年之前
committed by
GitHub
沒有發現已知的金鑰在資料庫的簽署中
GPG Key ID: 4AEE18F83AFDEB23
共有
1 個文件被更改,包括
3 次插入 和
1 次删除
-
src/style/_markdown.scss
|
|
@@ -1,6 +1,9 @@ |
|
|
|
.markdown, .renderedMarkdown { |
|
|
|
p, pre { |
|
|
|
margin: 1em auto; |
|
|
|
|
|
|
|
word-break: break-all; /* Fallback trick */ |
|
|
|
word-break: break-word; |
|
|
|
} |
|
|
|
pre { |
|
|
|
color: black; |
|
|
@@ -8,7 +11,6 @@ |
|
|
|
white-space: pre-wrap; |
|
|
|
background: none; |
|
|
|
padding: 0px; |
|
|
|
overflow-wrap: break-word; |
|
|
|
} |
|
|
|
|
|
|
|
code { |
|
|
|