Skip to content

Commit

Permalink
Added display:block to heading classes, to support use on inline elem…
Browse files Browse the repository at this point in the history
…ents (for example, within form label elements on single-question pages.)
  • Loading branch information
pauldwaite committed Oct 3, 2017
1 parent 9c1f73e commit 5e4acc1
Show file tree
Hide file tree
Showing 3 changed files with 6,706 additions and 0 deletions.
4 changes: 4 additions & 0 deletions assets/sass/elements/_elements-typography.scss
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,7 @@ main {
.heading-xlarge {
@include bold-48();

display: block;
margin-top: em(15, 32);
margin-bottom: em(30, 32);

Expand All @@ -92,6 +93,7 @@ main {
.heading-large {
@include bold-36();

display: block;
margin-top: em(25, 24);
margin-bottom: em(10, 24);

Expand All @@ -112,6 +114,7 @@ main {
.heading-medium {
@include bold-24();

display: block;
margin-top: em(25, 20);
margin-bottom: em(10, 20);

Expand All @@ -125,6 +128,7 @@ main {
.heading-small {
@include bold-19();

display: block;
margin-top: em(10, 16);
margin-bottom: em(5, 16);

Expand Down
Loading

0 comments on commit 5e4acc1

Please sign in to comment.