diff options
author | Yoshiya Hinosawa <stibium121@gmail.com> | 2019-06-11 00:03:51 +0900 |
---|---|---|
committer | Ryan Dahl <ry@tinyclouds.org> | 2019-06-10 11:03:51 -0400 |
commit | 88b0c8756eef96c8adaff1005d00aae52bd2272c (patch) | |
tree | 6d8e9051d479f70b0235ee3f46330310dfa16644 | |
parent | 163d60bf16b2c62192b5bf1763ebe6ee2b8c4406 (diff) |
website: use pre-wrap (#2486)
-rw-r--r-- | website/style.css | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/website/style.css b/website/style.css index d589771a3..3f3efe38d 100644 --- a/website/style.css +++ b/website/style.css @@ -67,7 +67,8 @@ pre { color: #161616; background: rgba(36, 126, 233, 0.1); padding: 15px; - word-wrap: normal; + white-space: pre-wrap; + word-break: break-all; overflow-x: auto; } @@ -115,7 +116,7 @@ code { @keyframes spinner { to {transform: rotate(360deg);} } - + .spinner:before { content: ''; box-sizing: border-box; |