Currently in admin side, description column of listing tables have vertical-align : middle
property in default admin theme seven, which makes a complex look if the table td content is a little more than just one line. I was confused on the description content in module listing page. Description content went above the module name. So I thought that the description belongs to the previous Module. Had to look twice to realise that it was aligned in the middle (See the screenshot below).
So, I think it we can just remove vertical-align
property. It will make the listing more easy to read and understand (see the proposed change screenshot).
Comment | File | Size | Author |
---|---|---|---|
#11 | after-applying-patch.png | 49.58 KB | Akshay kashyap |
#11 | before-applying-patch.png | 50.02 KB | Akshay kashyap |
#5 | drupal-verticalalign-2771975-0.patch | 282 bytes | Joel James |
proposed.png | 18.18 KB | Joel James | |
current.png | 22.29 KB | Joel James |
Comments
Comment #2
Joel James CreditAttribution: Joel James commentedComment #3
Joel James CreditAttribution: Joel James commentedComment #4
Joel James CreditAttribution: Joel James commentedComment #5
Joel James CreditAttribution: Joel James commentedComment #6
Joel James CreditAttribution: Joel James commentedComment #7
Joel James CreditAttribution: Joel James commentedComment #8
Joel James CreditAttribution: Joel James as a volunteer commentedComment #9
chanchal2002 CreditAttribution: chanchal2002 as a volunteer and at Sidus Technologies commentedYes, I think we can remove
vertical-align
property.For drupal 8
vertical-align
property not included .Comment #10
ankitsingh0188I have applied the patch, drupal-verticalalign-2771975-0.patch mentioned in #5.
It's removed the vertical alignment in listing tables description.
Hence, the patch is working fine.
Comment #11
Akshay kashyap CreditAttribution: Akshay kashyap commentedPatch is working fine, i just test the patch #5.
Step for applying patch
1) Download Drupal version 7.44 X.
2) Check the issue (before-applying-patch.png).
3) Apply patch (after-applying-patch.png).
4) Issue tested on the Mozila and Chrome.
5) Issue resolved.
Comment #12
ankitsingh0188Comment #13
David_Rothstein CreditAttribution: David_Rothstein as a volunteer commentedThis definitely looks like a good change on the Modules page.
I'm not entirely convinced we want to do this for all tables, though. At least not without further review and testing... that's a very broad change that could have unintended consequences.
Also for the Modules page the issue isn't limited to the Seven theme. A similar problem exists in other themes also. So another way to do this would be to do it outside the Seven theme, and have the CSS target the specific table on the Modules page only (by setting it to
vertical-align: baseline
)?Comment #14
Joel James CreditAttribution: Joel James as a volunteer commented@David
Yes,
vertical-align: baseline
is the best approach. Thanks.I think we can target the modules table alone by using its parent fieldset id. But where shall we write this outside a theme, to affect on all themes?