diff --git a/app/assets/stylesheets/helpers/_back-to-content.scss b/app/assets/stylesheets/helpers/_back-to-content.scss index b38922cf7..a5e0946a1 100644 --- a/app/assets/stylesheets/helpers/_back-to-content.scss +++ b/app/assets/stylesheets/helpers/_back-to-content.scss @@ -1,10 +1,18 @@ .back-to-content { - @include core-19; + @include core-16; display: inline-block; margin-bottom: $gutter-half; - &:before { - content: "\2191"; + .icon { + float: left; + margin-right: .3em; + width: .8em; + height: .968em; + } + + // TODO: Update grid to allow this behaviour without this hack + .sidebar-with-body & { + margin-left: $gutter-half; } @media print { diff --git a/app/assets/stylesheets/helpers/_sidebar-with-body.scss b/app/assets/stylesheets/helpers/_sidebar-with-body.scss index 3c36c63e2..7af5ff5a9 100644 --- a/app/assets/stylesheets/helpers/_sidebar-with-body.scss +++ b/app/assets/stylesheets/helpers/_sidebar-with-body.scss @@ -1,5 +1,6 @@ @mixin sidebar-with-body { .sidebar-with-body { + position: relative; margin-bottom: $gutter * 1.5; } diff --git a/app/views/content_items/detailed_guide.html.erb b/app/views/content_items/detailed_guide.html.erb index 6f049e999..b39490dd8 100644 --- a/app/views/content_items/detailed_guide.html.erb +++ b/app/views/content_items/detailed_guide.html.erb @@ -44,7 +44,7 @@ <% end %> <%= render 'govuk_component/govspeak', @content_item.govspeak_body %> -