Problem/Motivation

Drupal core's Claro admin theme and the contrib Gin admin themes rely on the form-item__description class for styling form descriptions. The Read-only field widget only adds the description class needed for the Seven admin theme. Claro is now the default admin theme.

Steps to reproduce

Proposed resolution

Add the form-item__description class to read-only widget descriptions.

Remaining tasks

User interface changes

API changes

Data model changes

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

ChrisSnyder created an issue. See original summary.

chrissnyder’s picture

Status: Active » Needs review
StatusFileSize
new662 bytes

The attached patch adds the needed description class to support claro/gin.

(I was unable to create an issue fork branch due to current issues with Drupal's GitLab integration. Therefore, attached a patch instead.)

astonvictor made their first commit to this issue’s fork.

astonvictor’s picture

Version: 8.x-1.5 » 2.1.x-dev

astonvictor’s picture

Status: Needs review » Fixed

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.

Status: Fixed » Closed (fixed)

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