-
Notifications
You must be signed in to change notification settings - Fork 6
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
Update: add data-order to nav button (#61) #80
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.
👍
I think we can go ahead and remove the .u-float-right
style for the button? Or is that there for backwards compatibility before the nav container nav__inner
used flexbox?
Good spot @swashbuck, I hadn't noticed. Having looked into this, |
@kirsty-hames Thanks for doing that research. Maybe this can be a separate cleanup issue where we update all CGKineo buttons at once? If most adaptlearning nav buttons have had |
Sounds good to me @swashbuck. I'll remove in this instance and raise issues for the other plugins. |
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.
👍
🎉 This PR is included in version 3.4.0 🎉 The release is available on GitHub release Your semantic-release bot 📦🚀 |
Fixes #61
Update
Hard code
data-order
as this won't need to be configurable. As it's a development tool, it makes sense this is last in the nav order (alongside any other development/review tools).The original issue notes that manually adding the
data-order
had no effect on the nav order however this worked as expected for me. See screen shot below.