Created
September 14, 2013 18:48
-
-
Save bluematt/6564507 to your computer and use it in GitHub Desktop.
Fix for the .h1—.h6 headings issue in https://gist.github.com/bluematt/6563820
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
diff --git a/less/type.less b/less/type.less | |
index 5ad6a46..cb1332d 100644 | |
--- a/less/type.less | |
+++ b/less/type.less | |
@@ -89,9 +89,9 @@ h1, h2, h3, h4, h5, h6, | |
} | |
} | |
-h1, | |
-h2, | |
-h3 { | |
+h1, .h1, | |
+h2, .h2, | |
+h3, .h3 { | |
margin-top: @line-height-computed; | |
margin-bottom: (@line-height-computed / 2); | |
@@ -99,9 +99,9 @@ h3 { | |
font-size: 65%; | |
} | |
} | |
-h4, | |
-h5, | |
-h6 { | |
+h4, .h4, | |
+h5, .h5, | |
+h6, .h6 { | |
margin-top: (@line-height-computed / 2); | |
margin-bottom: (@line-height-computed / 2); | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment