Skip to content

Commit

Permalink
Remove component style override
Browse files Browse the repository at this point in the history
- style added 20px margin top to the intervention component
- component is already wrapped in an element that has 20px margin top, so this rule did nothing
- applications shouldn't style components, changes should be made directly to components or component options
  • Loading branch information
andysellick committed Oct 27, 2023
1 parent a0328b1 commit 4511b94
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions app/assets/stylesheets/components/_banner.scss
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,3 @@
max-width: 30em;
padding-top: govuk-spacing(2);
}

.gem-c-intervention {
margin-top: govuk-spacing(4);
}

0 comments on commit 4511b94

Please sign in to comment.