Commit 1a971b54bc40120c6d12fc320210675b531d1f83

Robin Berjon 2015-10-28T10:21:41

revert white-space to normal when code is inline instead of in a pre

diff --git a/themes/prism-coy.css b/themes/prism-coy.css
index fbd559c..70981ca 100644
--- a/themes/prism-coy.css
+++ b/themes/prism-coy.css
@@ -77,6 +77,7 @@ pre[class*="language-"] {
 	color: #c92c2c;
 	border: 1px solid rgba(0, 0, 0, 0.1);
 	display: inline;
+	white-space: normal;
 }
 
 pre[class*="language-"]:before,
diff --git a/themes/prism-dark.css b/themes/prism-dark.css
index 74b1a65..3c956f5 100644
--- a/themes/prism-dark.css
+++ b/themes/prism-dark.css
@@ -55,6 +55,7 @@ pre[class*="language-"] {
 	border-radius: .3em;
 	border: .13em solid hsl(30, 20%, 40%);
 	box-shadow: 1px 1px .3em -.1em black inset;
+	white-space: normal;
 }
 
 .token.comment,
diff --git a/themes/prism-funky.css b/themes/prism-funky.css
index 56dee03..e4d676d 100644
--- a/themes/prism-funky.css
+++ b/themes/prism-funky.css
@@ -45,6 +45,7 @@ code[class*="language-"] {
 	padding: .2em;
 	border-radius: .3em;
 	box-shadow: none;
+	white-space: normal;
 }
 
 .token.comment,
diff --git a/themes/prism-okaidia.css b/themes/prism-okaidia.css
index 3b9e2a6..676b070 100644
--- a/themes/prism-okaidia.css
+++ b/themes/prism-okaidia.css
@@ -44,6 +44,7 @@ pre[class*="language-"] {
 :not(pre) > code[class*="language-"] {
 	padding: .1em;
 	border-radius: .3em;
+	white-space: normal;
 }
 
 .token.comment,
diff --git a/themes/prism-tomorrow.css b/themes/prism-tomorrow.css
index f44ab81..a4e7873 100644
--- a/themes/prism-tomorrow.css
+++ b/themes/prism-tomorrow.css
@@ -43,6 +43,7 @@ pre[class*="language-"] {
 :not(pre) > code[class*="language-"] {
 	padding: .1em;
 	border-radius: .3em;
+	white-space: normal;
 }
 
 .token.comment,
diff --git a/themes/prism-twilight.css b/themes/prism-twilight.css
index e873fa6..09b8dff 100644
--- a/themes/prism-twilight.css
+++ b/themes/prism-twilight.css
@@ -70,6 +70,7 @@ code[class*="language-"]::selection, code[class*="language-"] ::selection {
 	border: .13em solid hsl(0, 0%, 33%); /* #545454 */
 	box-shadow: 1px 1px .3em -.1em black inset;
 	padding: .15em .2em .05em;
+	white-space: normal;
 }
 
 .token.comment,
diff --git a/themes/prism.css b/themes/prism.css
index e81ebed..2918f11 100644
--- a/themes/prism.css
+++ b/themes/prism.css
@@ -62,6 +62,7 @@ pre[class*="language-"] {
 :not(pre) > code[class*="language-"] {
 	padding: .1em;
 	border-radius: .3em;
+	white-space: normal;
 }
 
 .token.comment,