Skip to content

Commit

Permalink
Merge pull request #8456 from cfpb/fwt-margins
Browse files Browse the repository at this point in the history
Add margins to m-full-width-text 'content' blocks that match h2s
  • Loading branch information
wpears committed Jun 14, 2024
2 parents 90db013 + 8b25df8 commit a4ed4d6
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions cfgov/unprocessed/css/organisms/full-width-text-group.less
Original file line number Diff line number Diff line change
Expand Up @@ -28,12 +28,23 @@
}
}

.m-full-width-text {
margin-top: unit(30px / @base-font-size-px, em);
margin-bottom: unit(30px / @base-font-size-px, em);
}

.m-full-width-text + .m-call-to-action {
margin-top: unit(30px / @base-font-size-px, em);
}

// Tablet and above.
.respond-to-min(@bp-sm-min, {

.m-full-width-text {
margin-top: unit(45px / @base-font-size-px, em);
margin-bottom: unit(45px / @base-font-size-px, em);
}

.m-inset {
margin-left: unit( @grid_gutter-width / @base-font-size-px, em );

Expand Down

0 comments on commit a4ed4d6

Please sign in to comment.