Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/Track3/hermit.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDmitry Yakimenko <detunized@gmail.com>2019-02-03 11:10:21 +0300
committerTrack3 <34504964+Track3@users.noreply.github.com>2019-02-03 11:10:21 +0300
commitea656ac40c18b1c4bec974ed9b1baa3a6ea16a4a (patch)
tree461b206fed14cfd80e66a2c309f08c62a97d5f63
parentc099cb4a0fef7997e65475750c5dea221f4e705e (diff)
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.scss4
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;