Problem/Motivation

In the "Available updates" page, while the Drupal core releases are shown then the "Download" and "Release notes" list items shows unnecessary list style type.

Steps to replicate

  1. Install Drupal 8 via Git. (https://www.drupal.org/project/drupal/git-instructions)
  2. Visit "Available updates" page (admin/reports/updates) and see the "Drupal core" updates table rows.

Proposed resolution

Assign stylesheet to the parent element to the list item <ul class="links"></ul> to remove the list styles.

Before/After screenshots

Before

Unwanted list style in Available updates page listing

After

Patch #2

Unwanted list style in Available updates page listing

Cross browser tests

N.A

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

aneek’s picture

Component: CSS » update.module
Issue tags: +CSS
aneek’s picture

FileSize
343 bytes

Patch to fix this issue.

aneek’s picture

Assigned: Unassigned » aneek
Status: Active » Needs review
aneek’s picture

Issue summary: View changes
FileSize
65.56 KB
corbacho’s picture

Title: Unwanted list style in Available updates page listing » Unwanted list style position in Available updates page listing
Status: Needs review » Reviewed & tested by the community
FileSize
37.29 KB
65.48 KB

I can replicate it in Chrome 39 Mac.
In Firefox v. 33 Mac, it shows correctly:

This problem comes from a inconsistence of browsers at handling 'list-style-position: outside' (the default position).
Reduced test-case: http://jsfiddle.net/HpKvR/2/ (try in firefox Vs Chrome)

Exploring a solution
list-style-position: inside. Fine in Chrome and FF at wide screens. Bad in both browsers with narrow screens. Not tested in IE

I think this bug is related to a similar one documented in MDN:

N.B. There is variance among browsers regarding behaviour when a block element is placed first within a list element declared as list-style-position:inside. Chrome and Safari both place this element on the same line as the marker box, whereas Firefox, Internet Explorer and Opera place it on the next line.

Related to this (since we are using normalize.css library in core), its author does not want to force a list-style-position. So no solution is going to come from normalize.

Conclusion
Because it's difficult to control the look of list-style-position across browsers, I prefer aneek's sane solution (patch #2) and remove completely the bullet points.

PS.
From the previous screenshot is obvious that we need increasing line-height (from 0.9 to 1.4 is my suggestion). Those two links are too close to each other in mobile-view. It's even worse with Bartik as admin theme. It makes it difficult to click with fingers. Should we increase the scope of the issue to include this change?

alexpott’s picture

Status: Reviewed & tested by the community » Fixed

This issue is a minor bug fix, and doesn't include any disruptive changes, so it is allowed per https://www.drupal.org/core/beta-changes. Committed 07714ac and pushed to 8.0.x. Thanks!

  • alexpott committed 07714ac on 8.0.x
    Issue #2383153 by aneek, corbacho: Unwanted list style position in...

Status: Fixed » Closed (fixed)

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