Skip to content

Conversation

felixsanz
Copy link
Contributor

The mobile menu button appears in a place it shoulnd't on Chrome (at least using the Desktop version with a small viewport).

That margin is the cause. Also, to let the logo be center aligned the best way is to absolute positioning the menu button and take it out of flow.

@jsf-clabot
Copy link

jsf-clabot commented Nov 17, 2016

CLA assistant check
All committers have signed the CLA.

@themre
Copy link

themre commented Nov 18, 2016

yesterday I also noticed this, you got ahead of me :) I tested it and looks god, but it's up to the others to also look.

@skipjack
Copy link
Collaborator

This is actually pretty similar to how we had it before, but a bug on iOS with the absolute positioning caused us to go back to the negative margin (which I agree is a bit hacky).

@felixsanz would you be able to share a quick screenshot of what this fixes?

@SpaceK33z if you have time could you test this out, particularly on an iOS device? If not, I should have time this weekend.

@felixsanz
Copy link
Contributor Author

@skipjack Take a look at the menu, it's almost off-screen. The absolute positioning fix it.

Menu

@skipjack
Copy link
Collaborator

@SpaceK33z testing this now, if it looks ok on my iOS device I'm fine with merging.

@skipjack
Copy link
Collaborator

skipjack commented Nov 20, 2016

Ok it looks a bit off-center vertically, especially on iOS, which was the same problem I was having before with position:absolute on that element. It seems maybe changing the line-height of the icon will fix it.

@skipjack
Copy link
Collaborator

As you can see below it's a little off, but maybe this isn't such a big deal. I spent a little time trying to find a fix with no luck. I'm fine with merging and dealing with this later I guess, what do you think @SpaceK33z?

img_2232

@SpaceK33z SpaceK33z merged commit c115669 into webpack:develop Nov 20, 2016
@SpaceK33z
Copy link
Member

Sure, this is an improvement. @felixsanz, thanks!

@felixsanz
Copy link
Contributor Author

felixsanz commented Nov 20, 2016

Since it's absolute positioned i think line-height will not fix it. Just add a top property with a few pixels, like top: 3px;. BUUUT... on android it looks fine now, so that top will break alignment

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

Successfully merging this pull request may close these issues.

5 participants