diff options
| author | Dmitry Yakimenko <detunized@gmail.com> | 2019-02-03 09:10:21 +0100 |
|---|---|---|
| committer | Track3 <34504964+Track3@users.noreply.github.com> | 2019-02-03 16:10:21 +0800 |
| commit | ea656ac40c18b1c4bec974ed9b1baa3a6ea16a4a (patch) | |
| tree | 461b206fed14cfd80e66a2c309f08c62a97d5f63 | |
| parent | c099cb4a0fef7997e65475750c5dea221f4e705e (diff) | |
| download | hermit-ea656ac40c18b1c4bec974ed9b1baa3a6ea16a4a.tar.gz | |
Disable wrapping of text in code blocks, scroll instead (#44)
* Disable wrapping of text in code blocks, scroll instead
* Remove pre.max-height
| -rw-r--r-- | assets/scss/style.scss | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/assets/scss/style.scss b/assets/scss/style.scss index 3aa5ea4..6a706ca 100644 --- a/assets/scss/style.scss +++ b/assets/scss/style.scss @@ -41,14 +41,12 @@ pre tt { } pre { - max-height: 40em; padding: .7em 1.1em; overflow: auto; font-size: .9em; line-height: 1.5; letter-spacing: normal; - white-space: pre-wrap; - word-wrap: break-word; + white-space: pre; color: #eee; background: $midnightblue; border-radius: 4px; |
