diff options
author | Douwe Maan <douwe@selenight.nl> | 2016-01-25 13:42:47 +0300 |
---|---|---|
committer | Douwe Maan <douwe@selenight.nl> | 2016-01-25 13:42:47 +0300 |
commit | 40d2daed89f598e0b869bdc09bf47d4defe1c5f0 (patch) | |
tree | 34476409922fbf4ccf2c6405ffd622e9172a93fb /app/assets/stylesheets/framework/highlight.scss | |
parent | 0f2a906211dcbf4978b465d342521dda14ade729 (diff) |
Highlight note code and edit preview
Diffstat (limited to 'app/assets/stylesheets/framework/highlight.scss')
-rw-r--r-- | app/assets/stylesheets/framework/highlight.scss | 18 |
1 files changed, 2 insertions, 16 deletions
diff --git a/app/assets/stylesheets/framework/highlight.scss b/app/assets/stylesheets/framework/highlight.scss index 2e13ee842e0..9854df4c45c 100644 --- a/app/assets/stylesheets/framework/highlight.scss +++ b/app/assets/stylesheets/framework/highlight.scss @@ -17,6 +17,7 @@ overflow-y: hidden; white-space: pre; word-wrap: normal; + border-left: 1px solid; code { font-family: $monospace_font; @@ -25,7 +26,7 @@ padding: 0; .line { - display: inline; + display: inline-block; } } } @@ -53,18 +54,3 @@ } } } - -.note-text .code { - border: none; - box-shadow: none; - background: $background-color; - padding: 1em; - overflow-x: auto; - - code { - font-family: $monospace_font; - white-space: pre; - word-wrap: normal; - padding: 0; - } -} |