Quantcast
Channel: Issues for Drupal core
Viewing all articles
Browse latest Browse all 301135

Separate UI strings touching each other

$
0
0

Problem/Motivation

Steps to reproduce the problem:

  1. Enable the tracker (human-readable name Activity Tracker) module of Drupal core. It requires no further configuration.
  2. Create a piece of content, for example a Page or Article.
  3. Log in to the site with an other user account different from who the content has created.
  4. Visit the /activity URL path of the site. You should see a table listing the only one content.
  5. Beside its node title a colored "new" or "updated" text appears.

The <span class="marker">updated</span> element containing the status text has no gap from the <a> element containing the node title. This is bad not only for human reading, but for accessibility reasons as well.
Screenshot

Drupal core: 8.8.0-beta1
Apache: 2.2.34
PHP: 7.3.8 / Mem: 128M
MySQL: 5.7.26
mac OS: 10.13.6

Proposed resolution

Insert an extra non-breaking space (&nbsp;) character between these two elements. Advantages are that they will stay together in any circumstances (not breaking under into a new line, for example) and being theme/CSS agnostic.

Remaining tasks

Probably no further tasks are known.

User interface changes

Hopefully a minor visual improvement fixed.

API changes

N/A

Data model changes

N/A

Release notes snippet

N/A

Original report by [username]

N/A


Viewing all articles
Browse latest Browse all 301135

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>