Kaynağa Gözat

Fixed inline code styles and increase line heights in lists to accommodate code

Matt Toback 9 yıl önce
ebeveyn
işleme
614b26fff6

+ 2 - 4
public/sass/base/_code.scss

@@ -21,6 +21,8 @@ code {
   background-color: $code-tag-bg;
   border: 1px solid darken($code-tag-bg, 15%);
   white-space: nowrap;
+  padding: 2px 5px;
+  margin: 0 2px;
 }
 
 code.code--small {
@@ -29,10 +31,6 @@ code.code--small {
   margin: 0 2px;
 }
 
-p.code--line {
-  line-height: 1.8;
-}
-
 // Blocks of code
 pre {
   display: block;

+ 1 - 0
public/sass/components/_panel_text.scss

@@ -3,4 +3,5 @@
   ul {
     margin: 0 0 $spacer $spacer * 1.5;
   }
+  li {line-height: 2;}
 }