Skip to content

Commit

Permalink
Remove unnecessary hero padding
Browse files Browse the repository at this point in the history
  • Loading branch information
contolini committed Nov 2, 2021
1 parent ba476ff commit 4d81f43
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 11 deletions.
2 changes: 1 addition & 1 deletion cfgov/jinja2/v1/_includes/molecules/hero.html
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@
{{- ' m-hero__overlay' if value.is_overlay else '' }}
{{- ' m-hero__50-50' if value.is_50_50 else '' }}
{{- ' m-hero__jumbo' if value.is_jumbo else '' }}">
<div class="m-hero_wrapper wrapper">
<div class="m-hero_wrapper">
<div class="m-hero_text">
<h1 class="m-hero_heading">{{ value.heading | safe }}</h1>
<div class="m-hero_subhead">
Expand Down
10 changes: 0 additions & 10 deletions cfgov/unprocessed/css/enhancements/layout.less
Original file line number Diff line number Diff line change
Expand Up @@ -276,16 +276,6 @@
padding-left: unit( 18px / @base-font-size-px, em );
}


// Fix hero padding on medium screens to spec in Design System
.respond-to-min( @bp-sm-min, {
.m-hero_wrapper {
padding-right: unit( ( @grid_gutter-width / 2 ) / @base-font-size-px, em );
padding-left: unit( ( @grid_gutter-width / 2 ) / @base-font-size-px, em );
}
} );


// Center content and bleed full-width images into gutters
// Used on our story pages
.content__center-image-bleed {
Expand Down

0 comments on commit 4d81f43

Please sign in to comment.