-
-
Notifications
You must be signed in to change notification settings - Fork 825
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
Intelligently adjust menubar for D7 toolbar toggle #12937
Conversation
(Standard links)
|
@colemanw this makes sense - do you know of a case when the if would be false? |
(CiviCRM Review Template DEL-1.1)
|
@eileenmcnaughton the if will return false if the core toolbar module is disabled or if the admin_menu module is being used instead. |
Thanks for the review @MikeyMJCO really helpful |
Included in CiviCRM 5.8.0 Core PR: civicrm#12937
Included in CiviCRM 5.8.0 Core PR: civicrm#12937
Included in CiviCRM 5.8.0 Core PR: civicrm#12937
Overview
Civi menubar was being set to width 97% to make room for the Drupal Toolbar toggle. The 2 problems with that are:
Before
Civi menubar set to width 97% unconditionally.
After
Civi menubar set to 100% minus the width of the toolbar toggle, but only if the toolbar toggle is actually present on the screen.