Disable the vertical orientation of the admin toolbar's manage tray
It’s extremely annoying during development at least when the bar flips to vertical when the screen narrows
- Drupal 8 make toolbar tray stay horizontal
- drupal 8 disable toggle orientation on admin toolbar manage
… i guess i’ll take the code from the accepted answer to defaulting the admin toolbar as left vertical orientation and adapt it to force the toolbar tray to always be horizontal.
- drupal 8 override library all JavaScript
- drupal 8 toolbar module weight
Why isn’t my library override removal doing anything?
- https://www.drupal.org/forum/support/module-development-and-code-questions/2017-01-22/cannot-override-miscautocompletejs
- https://www.reddit.com/r/drupal/comments/7ep6s2/librariesoverride_not_working_on_drupal_8/
- https://drupal.stackexchange.com/questions/250739/libraries-override-not-working
- Libraries can now be overridden and extended by themes
- Apparently there isn’t a way to just override all the JavaScript: https://www.drupal.org/docs/8/modules/decoupled-blocks-vuejs/override-javascript-libraries (but to be clear i was trying the standard ways too)
- https://jasoncote.co/remove-replace-css-javascript-from-drupal-8-module
Gah so whatever the situation is, overriding with these correct statements is not working at all from the module, but does when i try them in a theme:
toolbar/toolbar: false
toolbar/toolbar:
js:
js/toolbar.js: false
Related drupal.org issues:
- Make the menu shown in the administration menu tray configurable
- Optimize the size of toolbar components for small screens and desktops
- Option to disable/enable Admin Toolbar collapse
- How to modify default toolbar behavior / orientation?
- Allow defaulting toolbar tray to vertical orientation with configuration
- [meta] Responsive Toolbar follow-ups
- Fix toolbar on small screen sizes and redesign toolbar for desktop