Skip to content

Instantly share code, notes, and snippets.

@bluematt
Created September 14, 2013 18:48
Show Gist options
  • Save bluematt/6564507 to your computer and use it in GitHub Desktop.
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
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