From 0eba0e8937cd4aec88d38613e5866ae25c85aa2f Mon Sep 17 00:00:00 2001 From: maxgds Date: Wed, 14 Oct 2020 14:56:33 +0100 Subject: [PATCH] Replace bespoke nav with contents list component --- app/assets/stylesheets/helpers/_parts.scss | 12 +++--------- app/views/content_items/travel_advice.html.erb | 10 +--------- test/integration/travel_advice_test.rb | 1 - 3 files changed, 4 insertions(+), 19 deletions(-) diff --git a/app/assets/stylesheets/helpers/_parts.scss b/app/assets/stylesheets/helpers/_parts.scss index 39c653e45..9089f982b 100644 --- a/app/assets/stylesheets/helpers/_parts.scss +++ b/app/assets/stylesheets/helpers/_parts.scss @@ -14,16 +14,10 @@ } .part-navigation { - margin-bottom: 0; - @include govuk-font(19); + margin-left: 0; - @include govuk-media-query($from: tablet) { - @include govuk-font(16); - } - - li { - list-style: none; - margin-bottom: 0.75em; + @include govuk-media-query($until: tablet) { + margin-left: govuk-spacing(1); } } diff --git a/app/views/content_items/travel_advice.html.erb b/app/views/content_items/travel_advice.html.erb index b86d751c9..c564f4950 100644 --- a/app/views/content_items/travel_advice.html.erb +++ b/app/views/content_items/travel_advice.html.erb @@ -36,15 +36,7 @@