Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
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
bobojo CreditAttribution: bobojo 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 CreditAttribution: designguru commentedI just saw this error with Bootstrap also - whats the easy CSS workaround for Bootstrap fixes?
q./
Comment #3
bobojo CreditAttribution: bobojo 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.