Open BlueSlug opened 3 years ago
Hi @BlueSlug,
Adding margin:auto;
to #defaultContainer.map .content-wrapper
aligns the map to the center.
Browsers Safari 13.1.3 Firefox 89.0
Fixes #611
Hi! I'm new at open source.
Could I take this issue?
@carlosmarin96, thanks for your interest in this ticket. @rwgers has described the solution.
Thanks for your help, @rwgers. Feel free to issue a pull request if you want.
Describe the bug
The accessibility map has inconsistent horizontal alignment within the Map page, depending on which browser is being used to view the site. In Chrome, the entire map and filters "assembly" is justified to the left side of the page, while in Firefox, it is centred. The result is not aesthetically pleasing, and a little jarring considering the main website navigation and footer are centre-justified.
To Reproduce
Steps to reproduce the behaviour:
Expected behavior
The page contents should be centre-justified across all browsers, as it is in Firefox.
Screenshots
Chrome (undesired behaviour)
Firefox (desired behaviour)
Desktop:
Smartphone:
N/A, the issue will not present itself at smaller viewport widths.
Additional context
There may be other browsers affected by this issue. A workable fix may be to apply
justify-content: center;
to the rule#defaultContainer.map .content-wrapper
Another solution to consider which may require more work would be to make the page contents occupy the full width of the page at all times.