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

Fix navbar-burger sample code in navbar.html #1432

Merged
merged 2 commits into from
Feb 15, 2018
Merged

Conversation

stern-shawn
Copy link
Contributor

This is a documentation fix.

Proposed solution

button elements with the class combination of 'button' and 'navbar-burger' display with a border. Updating the buttons in the documentation to divs, and removing button class.

Other parts of the documentation, as well as the documentation site itself, use a div with class="navbar-burger" instead of a button. Normalizing the examples so others don't experience the same headache that I did from using html button and classes as presented in the docs :)

<button> elements with the class combination of button and navbar-burger display with a border. Updating to divs and removing button class
@oleksiipotiekhin-zz
Copy link

Good job! I think @jgthms will merge it before doing a release.

@stern-shawn
Copy link
Contributor Author

Thank you! Hope it helps.

Copy link
Contributor

@feute feute left a comment

Choose a reason for hiding this comment

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

You should change the closing tag too:

-</button>
+</div>

Fixing button ending tags based on suggestion from @feute
@stern-shawn
Copy link
Contributor Author

Great catch, thanks @feute !

@farens farens mentioned this pull request Feb 15, 2018
@jgthms jgthms merged commit 6850b7f into jgthms:master Feb 15, 2018
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.

4 participants