Skip to content
This repository has been archived by the owner on Nov 20, 2024. It is now read-only.

Issues with landscape logos and header containers #67

Open
Feng-Shui opened this issue Feb 5, 2017 · 0 comments
Open

Issues with landscape logos and header containers #67

Feng-Shui opened this issue Feb 5, 2017 · 0 comments

Comments

@Feng-Shui
Copy link
Contributor

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.

@Feng-Shui Feng-Shui changed the title Header layout Issues with landscape logos and header containers Feb 5, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant