Skip to content

Commit

Permalink
Merge pull request #4610 from alphagov/making-component-preview-spaci…
Browse files Browse the repository at this point in the history
…ng-consistent

Make padding around component previews consistent
  • Loading branch information
AshGDS authored Feb 5, 2025
2 parents fbaa39f + 824c64f commit 6d638b0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
* Remove classes functionality from shared helper ([PR #4605](https://github.com/alphagov/govuk_publishing_components/pull/4605))
* Add govuk-text-break-word style to markdown links ([PR #4603](https://github.com/alphagov/govuk_publishing_components/pull/4603))
* Remove margin bottom functionality from shared helper ([PR #4608](https://github.com/alphagov/govuk_publishing_components/pull/4608))
* Make padding around component previews consistent ([PR #4610](https://github.com/alphagov/govuk_publishing_components/pull/4610))

## 51.1.1

Expand Down
2 changes: 1 addition & 1 deletion app/assets/stylesheets/component_guide/application.scss
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ $gem-guide-border-width: 1px;
}

.component-guide-preview {
padding: ($govuk-gutter * 1.5) $govuk-gutter $govuk-gutter;
padding: $govuk-gutter;
border: $gem-guide-border-width solid $govuk-border-colour;
position: relative;

Expand Down

0 comments on commit 6d638b0

Please sign in to comment.