diff options
author | Jayele <614071790@qq.com> | 2021-01-07 16:33:21 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-01-07 16:33:21 +0300 |
commit | b0054e0757f8628c912dae53e0775db37538c83d (patch) | |
tree | e902a277c277d2217be5f0f7ee75cea9ecebd2eb | |
parent | 5b9197f08c452c41d399adcbda394b78ac3308ac (diff) |
解决markdown中p标签内容过长超出外层div的问题
-rw-r--r-- | assets/css/style.css | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/assets/css/style.css b/assets/css/style.css index 3eeab39..6c6499f 100644 --- a/assets/css/style.css +++ b/assets/css/style.css @@ -6612,6 +6612,10 @@ body.no-sidebar .sidebar { margin-left: 20px; } +.marked-body p { + word-wrap: break-word; +} + /* * We are hiding the invisible nav outside the screen * so we need to avoid the horizontal scroll @@ -9454,4 +9458,4 @@ body.okayNav-loaded { margin: 0 0 10px; border-left: 3px solid #ffcc00; background-color: #fffae6; -}
\ No newline at end of file +} |