The menu buttons cut off text when a theme uses a larger font size than expected. This seems to be caused by the 15px height value that is hard coded to the button elements. Changing the height to auto fixes the issue.
| Comment | File | Size | Author |
|---|---|---|---|
| Drupal7-Admin-ButtonOverflow.png | 14.75 KB | brylie |
Comments
Comment #1
cuteapoot commentedAny chance of this getting committed? I can create a patch if needed.
In my case, the problem occurs because I'm using Bootstrap, which uses box-sizing: border-box for everything. That means that the buttons are 15px tall INCLUDING padding and borders, which clearly doesn't work here.
Comment #2
designguru commentedI just saw this error with Bootstrap also - whats the easy CSS workaround for Bootstrap fixes?
q./
Comment #3
cuteapoot commentedI stopped using this module for unrelated reasons, but you could probably just add a rule that targets the Admin panel and set "box-sizing: content-box;" to make Admin's styles use that instead of Bootstrap's method.
Comment #4
sickness29 commentedD7 reached its EOL back in January 2025, and there is no active release for D7 for this module anymore.
Development or support is not planned for D7. All D7-related issues are marked as outdated in a bunch.
If the issue remains relevant for D10+ versions, merge requests with proposed solutions for a new module version (D10+) are welcome in a new follow-up issue.
Thanks!