From f007c736b706c97f49396a14a39734a2b1b660bb Mon Sep 17 00:00:00 2001 From: Max Lehmann Date: Tue, 16 Jul 2019 08:02:55 +0100 Subject: [PATCH] Mark banner as English language and enforce left-to-right flow. --- app/assets/stylesheets/components/_banner.scss | 1 + app/views/components/_banner.html.erb | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/app/assets/stylesheets/components/_banner.scss b/app/assets/stylesheets/components/_banner.scss index 2c1cece2b..d869f2984 100644 --- a/app/assets/stylesheets/components/_banner.scss +++ b/app/assets/stylesheets/components/_banner.scss @@ -2,6 +2,7 @@ @include responsive-bottom-margin; @include core-19; @include white-links; + direction: ltr; background: $govuk-blue; color: $white; padding: govuk-spacing(3); diff --git a/app/views/components/_banner.html.erb b/app/views/components/_banner.html.erb index 1fae0306e..6b217c569 100644 --- a/app/views/components/_banner.html.erb +++ b/app/views/components/_banner.html.erb @@ -11,7 +11,7 @@ <%= text %>

<% end %> -
+
<%= content_block %> <% if aside %>

<%= aside %>