Skip to content

Conversation

@matthewtrask
Copy link

Add sm:hidden so the a links are hidden on small screens for a full responsive menu.

It was opened as an issue here: tailwindlabs/discuss#68

If you collapse the page, the menu items are not hidden. If this is by design then cool, but figured I would open this and see what yall thought.

Add `sm:hidden` so the `a` links are hidden on small screens for a full responsive menu.
@adamwathan
Copy link
Member

Hey @matthewtrask thanks for the PR! This is actually by design to show the open state of the navigation with the menu expanded on small screens 👍 If anything I might update it to be interactive to show both states, but I still think defaulting to open is more useful; it's a lot easier to cheat at the implementation if you don't have to show how the expanded state works, haha...

@adamwathan adamwathan closed this Nov 22, 2017
@matthewtrask
Copy link
Author

Ah cool! Wasn't sure, but wanted to check, cheers!

@matthewtrask matthewtrask deleted the patch-3 branch November 22, 2017 14:30
DCzajkowski pushed a commit to DCzajkowski/tailwindcss that referenced this pull request Jul 23, 2019
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.

2 participants