drunkenvalley / no-pressure

Welcome to the No Pressure Community repository for the website. This is a public project, enabling the community to join and help us make the community better and better.
https://no-pressure.eu/
5 stars 8 forks source link

fix firefox-specific overflow by tweaking nav #40

Closed PossiblyEmma closed 1 year ago

PossiblyEmma commented 1 year ago

Ended up being a simple fix, but a real pain to figure out. Seems like the margin-left and translate-x styles on the nav header were combining to leave a blank space to the right. Chrome was smart enough to figure out that space wasn't needed anymore, but firefox was leaving space where the nav header would have been before being translated.

Because the margin and translation seem to have been cancelling each other out, I removed them both, and now everything looks good after checking in firefox, chrome and edge, from what I have tested.