Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Set phase banner width to 100% on desktop
On most pages (apart from the homepage), the parent div (`.app-pane`) is a flex container. We used to wrap the phase banner in a `div` but removed this in alphagov@a04885b as the class being applied to that `div` was only being used for tests. Unfortunately, removing the `div` had the side effect of changing the positioning of the phase banner when it was inside the flex container - the phase banner appeared centred on the page. I think this is happening because it's a child item of a flex container and it doesn't have any existing properties to say how much space it should take up, so it's only taking up the space it needs rather than the full width. This commit sets `width: 100%;` on the phase banner on desktop so that it's centered correctly.
- Loading branch information