yusinto / react-site-nav

A kick ass site menu powered by styled components inspired by Stripe.
MIT License
201 stars 19 forks source link

ContentGroup appearing off to the left #20

Open rajuashok opened 5 years ago

rajuashok commented 5 years ago

Thank you for this library! I'm so close to getting it working. I just have one issue: each content group is appearing off to the left for some reason. Here's a screenshot:

Screen Shot 2019-06-28 at 6 12 51 AM

See how the dropdown box (ContentGroup) is offset all the way to the left? Any idea why this is happening?

Appreciate your help!

yusinto commented 5 years ago

Hi @rajuashok it's hard to debug this without actually looking at the source code. I recommend looking at the examples I have posted in this repo and comparing the css with yours. Otherwise if you have a public repo where I can clone and reproduce I can take a look.

bnabet commented 4 years ago

Hi, same problem here. Bug appears when Header (or parent) has a max-width property... Impossible to debug. Have to find another library.