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.
Simply add:
.checkbox .form-item{
text-align:center !important;
}
into modules/admin/theme/style.css
Comment | File | Size | Author |
---|---|---|---|
#1 | permissions_before.png | 44 KB | Jackinloadup |
#1 | permissions_after.png | 35.98 KB | Jackinloadup |
#1 | modules_before.png | 69.52 KB | Jackinloadup |
#1 | modules_after.png | 66.38 KB | Jackinloadup |
Comments
Comment #1
Jackinloadup CreditAttribution: Jackinloadup commentedNice find. Here are some before and after pics for people who want something to look at.
Comment #2
quicksketchReally the text-align: left; should be removed entirely from reset.css. The idea that *all* content needs to be shoved left is extremely heavy-handed. More importantly, it completely breaks RTL languages, making Admin completely unusable in languages like Hebrew or Arabic.
This same thing was reported against the "Seven" theme and we just removed it entirely. See #602710: Aggressive reset.css breaks all alignment in Seven (RTL languages).