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 system module (system.theme.css) includes:
tr.odd .form-item,
tr.even .form-item {
margin-top: 0;
margin-bottom: 0;
white-space: nowrap;
}
this means that the help text on the manage items pages for the galleries doesn't wrap and looks horrible, makes it non-responsive and sucky interface even for a large screen.
Before patching it looks like this:
Whereas after patching:
Also include a line to make sure the vertical alignment is top since it sometimes is inherited as baseline which messes up formating as well.
Comment | File | Size | Author |
---|---|---|---|
Screenshot 2014-12-03 01.06.55.png | 247.69 KB | NickDickinsonWilde | |
Screenshot 2014-12-03 00.49.08.png | 338.57 KB | NickDickinsonWilde | |
manage_items_display.patch | 829 bytes | NickDickinsonWilde |
Comments
Comment #2
zengenuity CreditAttribution: zengenuity commentedWe don't need a new CSS file. node_gallery_api.css is already loaded on this form page. I moved your CSS code to this file instead. Also, while I understand the vertical alignment addition, I decided to remove it so as not to change existing installs. The word wrap issue makes sense, through. Committed. Thanks.
Comment #3
RavindraSingh CreditAttribution: RavindraSingh commentedCool, I was trying to replicate it, doesn't exists anymore in 7.x-1.0.
Comment #4
NickDickinsonWildealready commited