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: don't override toggleAttrs in menu-button. #3381
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.
Thanks, @crhallberg. Unfortunately, it looks like adding the btn
class to the control has some side effects.
In every theme, it changes the mouseover highlight box from being fully rectangular to having rounded corners. Since the control is currently used in the header, this causes some inconsistency, since the highlight on the "login" control looks different from the highlight on the language/theme controls immediately next to it. Maybe this is justifiable, but it's a little weird. Perhaps the solution is to add the btn class to the login control for consistency.
More serious is the effect in the bootprint3 theme. Here's what it looks like in dev:
And here's what it looks like in this branch:
Any thoughts/suggestions/preferences?
I'm not opposed to removing |
If I'm remembering correctly, we needed the btn class to eliminate an unwanted outline in findingaugustine.org's language drop-down control. But if there's no benefit to the btn class in the core project, we can easily add it back in that instance as a customization instead of making the change globally. |
I think that's the most widely compatible option. |
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.
Thanks, @crhallberg!
Thanks for the spot on this, @demiankatz