From ed8d3c99c6ff4552893a0110d00e25bd83a847e0 Mon Sep 17 00:00:00 2001 From: Andy Sellick Date: Wed, 2 Oct 2019 15:53:26 +0100 Subject: [PATCH] Make preview all link more prominent --- .../component_guide/show.html.erb | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/app/views/govuk_publishing_components/component_guide/show.html.erb b/app/views/govuk_publishing_components/component_guide/show.html.erb index 32c2574ae8..1417911326 100644 --- a/app/views/govuk_publishing_components/component_guide/show.html.erb +++ b/app/views/govuk_publishing_components/component_guide/show.html.erb @@ -23,7 +23,9 @@ -

How it looks

+

How it looks + (preview all) +

<%= render "govuk_publishing_components/component_guide/component_doc/preview", component_doc: @component_doc, example: @component_doc.example %>

How to call this component

@@ -55,9 +57,7 @@ <% if @component_doc.other_examples.any? %>
-

Other examples - (preview all) -

+

Other examples

<% @component_doc.other_examples.each do |example| %>