Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve rendering of foundation link on small devices #1752

Merged
merged 1 commit into from
Jul 28, 2018
Merged

Conversation

sonicdoe
Copy link
Contributor

Before and after:

@@ -69,11 +69,16 @@ header
float left
padding 0
margin 0
nav
margin 0 20px
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why 20 pixels? Because it fits with the main container’s padding:

a,
a:link,
a:active
padding 0

.nav-foundation
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looking around the codebase, I had the feeling that it was mostly “desktop-first” which is why I opted for this variant. However, I agree that your suggestion makes more sense in this case. Changed 👍

Copy link
Contributor

@marswong marswong left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@fhemberger
Copy link
Contributor

Just go ahead and merge it … I think 6 approving reviews are more than enough.

@marswong marswong merged commit 55e5f62 into master Jul 28, 2018
@marswong
Copy link
Contributor

well done, thanks :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

7 participants