Small visual error: The checkbox to enable/disable a module or an extension will not have any margin on its left side on the module page (admin/modules) if the description of the module is too long, or if the screen size is too narrow.

This happens at least on latest Chrome, Safari and Firefox (desktop sizes).

See image:

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

seiplax’s picture

Assigned: seiplax » Unassigned
Status: Active » Needs review
FileSize
107.33 KB
387 bytes

Adding patch that adds a min-width of 25px for #system-modules td.checkbox

Result:

rteijeiro’s picture

Status: Needs review » Needs work

I cannot reproduce the issue. Could you provide some steps and more info about it, please?

seiplax’s picture

Status: Needs work » Needs review

This is on 8.0.x (HEAD is now at f6312b8) and no changes made.

To reproduce: Go to admin/config page and check the list of core modules, field types, multilingual and web services. Resize the window so that it is less than 1130px (with navbar horizontal). At that point the checkbox is already without margin. (The mobile view is ok)

You will not see the problem for field types, multilingual or web services (in English) since the text describing them is short. If you edit the DOM and make it longer you will see the checkbox behave the same way.

My Chrome version is 37.0.2062.94 Mac.

This is the checkbox (td class) computed CSS from the DOM - see any difference there if the steps above did not help in reproducing?

border-collapse: collapse;
color: rgb(92, 92, 91);
display: table-cell;
font-family: 'Lucida Grande', 'Lucida Sans Unicode', 'DejaVu Sans', 'Lucida Sans', sans-serif;
font-size: 12px;
font-style: normal;
font-variant: normal;
font-weight: normal;
height: 20px;
line-height: 20px;
margin-bottom: 0px;
margin-left: 5px;
margin-right: 5px;
margin-top: 0px;
padding-bottom: 10px;
padding-left: 0px;
padding-right: 12px;
padding-top: 10px;
text-align: center;
vertical-align: top;
white-space: normal;
width: 12px;

Also tried a fresh install with the minimal install setup, and just seven theme enabled. Same behaviour.

Checked what alpha14 looked like on simplytest.me and got the same result. Checked that on an other computer and got the same result.

lauriii’s picture

Status: Needs review » Reviewed & tested by the community
FileSize
47.49 KB
53.99 KB

I can triage the bug. I tested this in all view ports and it doesn't break anything. For me this is RTBC.

Here's before and after screenshots:

Before:

After:

webchick’s picture

Status: Reviewed & tested by the community » Needs review
Issue tags: +Needs manual testing

Oh, awesome! This has been driving me nuts.

However, since this affects System module's CSS (and thus all themes), can we get a quick check in Stark and Bartik, not just Seven?

lauriii’s picture

Status: Needs review » Reviewed & tested by the community
FileSize
14.21 KB
20.96 KB
19.82 KB
29.23 KB

I tested all Bartik, Stark and Seven in every view-port and everything seems to be alright after patch.

Stark:
Before:

After:

Bartik:
Before:

After:

alexpott’s picture

Status: Reviewed & tested by the community » Fixed

Committed 1c2e4c5 and pushed to 8.0.x. Thanks!

  • alexpott committed 1c2e4c5 on 8.0.x
    Issue #2330251 by seiplax: Fixed Enable/disable module/extension...

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.