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.
This commit is contained in:
Tom Byers
2022-05-05 14:43:38 +01:00
parent b4b7ecb2aa
commit 65d337959d

View File

@@ -55,6 +55,7 @@
& > :first-child, & > :first-child,
& > .area-list { & > .area-list {
width: 100%; width: 100%;
text-align: left;
} }
& > .file-list-hint-large, & > .file-list-hint-large,