Fix styling of code blocks in rich text
authorTom Hughes <tom@compton.nu>
Thu, 20 Jun 2013 15:19:06 +0000 (16:19 +0100)
committerTom Hughes <tom@compton.nu>
Thu, 20 Jun 2013 15:19:31 +0000 (16:19 +0100)
app/assets/stylesheets/common.css.scss

index 42f3c0b704860c44c24efe8af32c39279ca76470..b392de1df95d253111717dbd104e83eac9971048 100644 (file)
@@ -1607,6 +1607,16 @@ a.button.submit {
     padding: 2px 3px;
   }
 
+  pre {
+    font-size: 13px;
+    background: #e8e8e8;
+    padding: 2px 3px;
+
+    code {
+      padding: 0;
+    }
+  }
+
   img {
     padding: 20px;
     background-color: #f4f4ff;