-
-
Notifications
You must be signed in to change notification settings - Fork 527
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 separator for menu item without children #16647
Conversation
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.
So, this definitely corrects the issue as-is. Thus I went ahead and approved.
I made some suggestions, nonetheless, because I noticed that having the $top
var serves no purpose so you might as well simply add the top
class to the <li>
directly (and, the top-link
css class is not used in 3.x). Plus, really we want to select all top-level nav <li>
s to apply the top border, so the selector in the scss file can be simplified (as noted in the second comment).
Anyway, up to you if you want to incorporate these changes. If you think it's too nit-picky, no problem ;-)
@smg6511 thx for the suggestions, added them all |
This PR includes the compiled assets. Can you remove those @theboxer? |
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## 3.x #16647 +/- ##
============================================
+ Coverage 21.47% 21.60% +0.13%
- Complexity 10652 10713 +61
============================================
Files 561 564 +3
Lines 32268 32373 +105
============================================
+ Hits 6929 6995 +66
- Misses 25339 25378 +39 ☔ View full report in Codecov by Sentry. |
Revert "Remove compiled assets" This reverts commit 50a4490. Revert minified files
### What does it do? Adds separator for menu items without children ### Why is it needed? Missing separator ### How to test Create menu entry without children ### Related issue(s)/PR(s) Resolves modxcms#16645 --------- Co-authored-by: Jason Coward <[email protected]>
What does it do?
Adds separator for menu items without children
Why is it needed?
Missing separator
How to test
Create menu entry without children
Related issue(s)/PR(s)
Resolves #16645