diff --git a/CHANGELOG.md b/CHANGELOG.md index bd24ec590e..63e62fd004 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -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 diff --git a/app/assets/stylesheets/component_guide/application.scss b/app/assets/stylesheets/component_guide/application.scss index b29d28f6c4..e6bd4bf194 100644 --- a/app/assets/stylesheets/component_guide/application.scss +++ b/app/assets/stylesheets/component_guide/application.scss @@ -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;