diff options
author | Corey Hulen <corey@hulen.com> | 2016-02-05 08:45:16 -0800 |
---|---|---|
committer | Corey Hulen <corey@hulen.com> | 2016-02-05 08:45:16 -0800 |
commit | 4fabe574fadb3e35a5f87c31a421daf1cff57af8 (patch) | |
tree | fd185197e50c3c5fa644473bea71528e45b7eca8 /web/sass-files/sass/partials/_markdown.scss | |
parent | 9b8761df8de0b7b4dcda55ecce7750dc385e38c8 (diff) | |
parent | 182052d68c3c4c581c5a6375337e845afc6142a8 (diff) | |
download | chat-4fabe574fadb3e35a5f87c31a421daf1cff57af8.tar.gz chat-4fabe574fadb3e35a5f87c31a421daf1cff57af8.tar.bz2 chat-4fabe574fadb3e35a5f87c31a421daf1cff57af8.zip |
Merge pull request #2088 from asaadmahmoodspin/ui-improvements
Minor UI Improvements
Diffstat (limited to 'web/sass-files/sass/partials/_markdown.scss')
-rw-r--r-- | web/sass-files/sass/partials/_markdown.scss | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/web/sass-files/sass/partials/_markdown.scss b/web/sass-files/sass/partials/_markdown.scss index 7aa29d95d..14e12ecd2 100644 --- a/web/sass-files/sass/partials/_markdown.scss +++ b/web/sass-files/sass/partials/_markdown.scss @@ -20,6 +20,14 @@ .post-body--code { position: relative; + + pre { + margin-bottom: 0; + word-break: normal; + overflow: auto; + word-wrap: normal; + } + } .post-body--code__language { @@ -43,7 +51,7 @@ @include opacity(0.2); } code { - white-space: pre-line; + white-space: pre; } } .markdown__table { |