AI Disclosure
Used AI to analyze and fix. Human tested and approved.
Problem/Motivation
Some toolbar buttons float and have overlapping issues below 16.5em.

Upstream issue
This issue is for #3035791, which is still in the core queue.
Transfer request: https://git.drupalcode.org/project/infrastructure/-/work_items/3606980
Steps to reproduce
With Toolbar and Contextual enabled, narrow the window down to 16.5em.
The toggle contextual edit links button floats under the user profile button.
Proposed resolution
Use flex below 16.5, which will work for all floated items.
#3035791 tried to fix it with media queries, but is targeting individual items and this is a broader fix.
The announcements button would have needed an additional fix if we were clearing floats. Using flex column on the wrapper under 16.5em clears the floats and makes a column, which will fix the ones I've seen so far. If there was something that was absolutely positioned, it might cause an issue, but at least it would be an exception and most would still work.
Fixed with flex:

With float on the contextual edit button, announcements is still misaligned:

Remaining tasks
Review and merge.
User interface changes
Consistent reflow of toolbar buttons below 16.5em.
| Comment | File | Size | Author |
|---|---|---|---|
| #3 | Screenshot 2026-11-25 at 19-26-33 admin Drush Site-Install.png | 14.39 KB | mortona2k |
| #3 | Screenshot 2026-11-25 at 19-00-55 admin Drush Site-Install.png | 10.34 KB | mortona2k |
Issue fork toolbar-3641735
Show commands
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
Comments
Comment #3
mortona2k commentedComment #4
mortona2k commentedComment #5
mortona2k commentedComment #6
mortona2k commentedComment #7
dydave commentedThanks a lot Andrew (@mortona2k)! 🙏
Very very quick message to let you know I've seen all your updates to the Toolbar issue queue and that's super helpful!
Please let me wrap up the Admin Toolbar D12 release and I'll circle back to the Toolbar module, see the final steps in AT:
#3565206-42: [Meta] Roadplan for Admin Toolbar 3.6.x and 3.7.x
Thanks again for all your help maintaining all these modules! 😊
(I'm receiving all notifications by email from the Toolbar issue queue 👍)
Comment #8
mortona2k commentedI started with fixing issues with sticky table headers and wandered into toolbar positioning. I fixed some bugs that have annoyed me for years and then asked claude about the related issues. Each one just needed a little fix.
There are some inter-dependencies so it might be easier to combine the issues and test together. Or I can help with the merge order.