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

Improve rendering account link in the toolbar

$
0
0

Problem/Motivation

The way the admin toolbar renders the account link includes a flicker as the vertical position of the icon is changed (see attached screen record in the UI changes section below.).

This might have been introduced in #2899392: user_hook_toolbar() makes all pages uncacheable

Steps to reproduce

  1. Install core (any verison from 8.9.x to 9.3.x).
  2. Login as a user that can see the toolbar.
  3. Load a page.
  4. Watch the 'Account' link (head) icon closely and see it change position.

Proposed resolution

Use CSS and JS to always give toolbar icons min-height: 39px; across all core themes.

Remaining tasks

  1. Decide if we can change stable + stable9 like this, or if we should leave them out of this fix.
  2. Decide if we need a CR.
  3. Reviews / refinements.
  4. RTBC.
  5. Commit.

User interface changes

Removes a flicker of the 'Account' link icon in the toolbar.

Before

After

See https://www.drupal.org/files/issues/2020-08-18/desktopap.gif

API changes

None.

Data model changes

None.

Release notes snippet

TBD, probably not.


Viewing all articles
Browse latest Browse all 291721

Trending Articles



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