diff --git a/CHANGELOG.md b/CHANGELOG.md index f45e71cf8f..7702ed3926 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -10,6 +10,7 @@ ## Unreleased * Make metadata component "See all updates" link href less generic ([PR #2562](https://github.com/alphagov/govuk_publishing_components/pull/2562)) +* Update feedback component to add "display none" to "maybe" (spam prevention) button ([PR #2568](https://github.com/alphagov/govuk_publishing_components/pull/2568)) ## 28.1.0 diff --git a/app/assets/stylesheets/govuk_publishing_components/components/_feedback.scss b/app/assets/stylesheets/govuk_publishing_components/components/_feedback.scss index bfcc556f97..bf477adaf8 100644 --- a/app/assets/stylesheets/govuk_publishing_components/components/_feedback.scss +++ b/app/assets/stylesheets/govuk_publishing_components/components/_feedback.scss @@ -141,9 +141,9 @@ } } -.gem-c-feedback__option-list-item:first-child { +.gem-c-feedback__option-list-item:last-child { @include govuk-media-query($from: mobile) { - margin-right: govuk-spacing(4); + margin-left: govuk-spacing(4); } } diff --git a/app/views/govuk_publishing_components/components/feedback/_yes_no_banner.html.erb b/app/views/govuk_publishing_components/components/feedback/_yes_no_banner.html.erb index c8bbf38526..55a1e1998b 100644 --- a/app/views/govuk_publishing_components/components/feedback/_yes_no_banner.html.erb +++ b/app/views/govuk_publishing_components/components/feedback/_yes_no_banner.html.erb @@ -5,12 +5,14 @@