-
Notifications
You must be signed in to change notification settings - Fork 221
Navbar fix for FireFox #179
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
Navbar fix for FireFox #179
Conversation
src/components/_navbar.scss
Outdated
.collapsible { | ||
@include resp(small) { | ||
width: 100%; | ||
margin-top: 50px; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
For the tests to pass, you need to move-up the margin-top
property before the width: 100%
.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
OMG.. give me a sec. 😈
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Finally! Sorry about this, but the stylelint test not show error to me.. Thanks Totomlnc! Best regards. |
@Phreshhh there is a small problem, the navbar seems to take too much height when not opened. This is happening on Chrome, Firefox and Safari, other than that everything works well. Before: After: After investigation, this is due to the Also you can notice the burger menu button is missing the border. |
@Phreshhh next step is to add back the border on the burger button. |
Seems good for me! Waiting for @rhyneav review, don't worry this review can take some days. It will be merged by rhyneav. Thanks again for contributing to PaperCSS. |
All feature bugs cleared. Thanks me too for the framework ;) |
Hey @Phreshhh thank you for the PR! What exactly was this fixing in Firefox? I also saw that you had changed the markup from a EDIT: Oops, forgot we use SCSS now... |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
See comment above, but thank you again for the contribution!
Hi @rhyneav ! I thinked about it when i changed, but i did't see other solution for fix it then change the markup. :( I think either-or. |
I think you can leave both with maybe a comment about why both are there. It's not the prettiest thing, but is safe until we launch the next major version. .collapsible > button, // Leaving for backwards compatibility. See docs for proper usage
.collapsible > label {
// those pretty styles
} |
I put back the button styles, now works with old layout also same as before. |
Thank you for updating! |
Brief description
Navbar fix for Firefox.