The spacing on the header of wikipedia.org is broken:
- it is non existent
- the header elements positioning is inconsistent across browsers
See attached files:
- Android 8, Chrome
- Android 8, Firefox
Design
- We need to keep the globe and the wordmark close to each other, as one unit
- center align this one unit
- offset it to the left by 10px/pt to optically center align it
Expected final result
Paddings
- 25px/pt top and bottom of the unit
- center align the unit with -10px offset to the left
- 10px/pt between the globe and the wordmark
- total max-width of the unit 210px on mobile
- should be consistent across browsers
- none of this applies to desktop
QA
A staging environment is available at http://tools-static.wmflabs.org/www-portal-staging/wikipedia.org/ to verify the changes meet the design criteria. There is no interaction required to test these changes, but they should not break layout on any supported mobile devices.