Skip to content

Commit

Permalink
Merge pull request #1785 from cfpb/1782-lead-paragraph
Browse files Browse the repository at this point in the history
fix: [Lead paragraph] Adjust margins
  • Loading branch information
meissadia authored Oct 17, 2023
2 parents 6008fc5 + a4b3681 commit 0c5dadd
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions packages/cfpb-core/src/base.less
Original file line number Diff line number Diff line change
Expand Up @@ -312,12 +312,12 @@ h6,
.lead-paragraph {
.heading-3();

margin-top: unit((30px / @font-size), em);
margin-bottom: unit((15px / 18px), em);
margin-top: 0;
margin-bottom: 15px;

.respond-to-max(@bp-xs-max, {
// Use the same regular weight but reduce the sizes to h4 size
margin-top: unit( ( 30px / 18px ), em );
margin-top: 0;
font-size: unit( ( 18px / @base-font-size-px ), em );
} );
}
Expand Down

0 comments on commit 0c5dadd

Please sign in to comment.