You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Nov 20, 2024. It is now read-only.
The current header layout has issues with SVG logo scaling.
When a large site name or slogan appears in the middle of the header, this can compress the logo container to the left and make the logo render very small. The solution to this was to add an inline style attribute that set a min-width on the logo's container
This was an ugly solution because a landscape logo may need to be bigger that the mobile viewport on desktop at which point the min-width rule caused the logo container to extend beyond the viewport.
I've attempted to resolve this using flexbox, PR to come.
The text was updated successfully, but these errors were encountered:
Feng-Shui
changed the title
Header layout
Issues with landscape logos and header containers
Feb 5, 2017
The current header layout has issues with SVG logo scaling.
When a large site name or slogan appears in the middle of the header, this can compress the logo container to the left and make the logo render very small. The solution to this was to add an inline style attribute that set a min-width on the logo's container
This was an ugly solution because a landscape logo may need to be bigger that the mobile viewport on desktop at which point the min-width rule caused the logo container to extend beyond the viewport.
I've attempted to resolve this using flexbox, PR to come.
The text was updated successfully, but these errors were encountered: