Problem/Motivation

Before Drupal 11.4, block content attributes were moved from the content to the block. Now that this has been fixed, those attributes override the default attributes for link lists. Instead of the language-switcher-language-url class being on the block div, it is on the link list. The default list class is missing from the link list.

Before After
Before screen shot After screen shot

Steps to reproduce

  1. Start the Umami demo.
  2. Look at the language switcher in the header.

Proposed resolution

Move the language-switcher-language-url class to the content wrapper.

CommentFileSizeAuthor
Untitled 2.png33.94 KBdarren oh
Untitled.png33.32 KBdarren oh

Issue fork drupal-3609119

Command icon Show commands

Start within a Git clone of the project using the version control instructions.

Or, if you do not have SSH keys set up on git.drupalcode.org:

Comments

darren oh created an issue. See original summary.

darren oh’s picture

Status: Active » Needs review
smustgrave’s picture

Assigned: darren oh » Unassigned
Status: Needs review » Reviewed & tested by the community

Un-assigning per Assigning ownership of a Drupal core issue.

But can confirm the issue and change does appear to fix it.

  • godotislate committed ea9f2558 on 11.4.x
    fix: #3609119 links class missing from language switcher
    
    By: darren oh...

  • godotislate committed 9eab7ea8 on 11.x
    fix: #3609119 links class missing from language switcher
    
    By: darren oh...

  • godotislate committed 3ee5c1ec on main
    fix: #3609119 links class missing from language switcher
    
    By: darren oh
    
godotislate’s picture

Version: main » 11.4.x-dev
Status: Reviewed & tested by the community » Fixed

Committed and pushed 3ee5c1e to main, 9eab7ea to 11.x, and ea9f255 to 11.4.x. Thanks!

Now that this issue is closed, review the contribution record.

As a contributor, attribute any organization that helped you, or if you volunteered your own time.

Maintainers, credit people who helped resolve this issue.