Created
March 16, 2015 12:31
-
-
Save nutti/09803c1259053c084ec8 to your computer and use it in GitHub Desktop.
[Javascript] Fix bug: output source code from highlight.js is overflowed
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@@ -6,11 +6,13 @@ github.com style (c) Vasily Polovnyov <vast@whiteants.net> | |
.hljs { | |
display: block; | |
+ word-wrap: break-word; | |
overflow-x: auto; | |
padding: 0.5em; | |
color: #333; | |
background: #f8f8f8; | |
-webkit-text-size-adjust: none; | |
+ font-size: 80%; | |
} | |
.hljs-comment, |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment