From 65d337959d5cca682c47fe29cfa90b477efd8bf8 Mon Sep 17 00:00:00 2001 From: Tom Byers Date: Thu, 5 May 2022 14:43:38 +0100 Subject: [PATCH] Fix alignment regression error with area lists When we changed the layout for each alert on the current/past/rejected alerts pages to use flexbox, we added a fallback for older browsers that set text-align: justify on the container: https://github.com/alphagov/notifications-admin/pull/4171 This has led to items in the list of areas an alert will be sent to being laid out as justified content when they were left-aligned. These changes set the correct alignment. --- app/assets/stylesheets/views/dashboard.scss | 1 + 1 file changed, 1 insertion(+) diff --git a/app/assets/stylesheets/views/dashboard.scss b/app/assets/stylesheets/views/dashboard.scss index 6a49f05b0..1615628f9 100644 --- a/app/assets/stylesheets/views/dashboard.scss +++ b/app/assets/stylesheets/views/dashboard.scss @@ -55,6 +55,7 @@ & > :first-child, & > .area-list { width: 100%; + text-align: left; } & > .file-list-hint-large,