Problem/Motivation

There has been an issue observed on the 'Structure -> Content Type' page where the theming of the manage field dropdown breaks when a multiline description is added. This problem has been tested on versions 9.x, 10.x, and 11.x of the core.

Steps to reproduce

1. Drupal 10.0.x and set the claro theme as admin theme
2. Navigate to admin/structure/types and add a new content type with multiline description and save.
3. Go back to Content type listing page and now you can see the issue.

Proposed resolution

Adding a white-space: nowrap; css is resolving the issue.

Comments

Santosh_Verma created an issue. See original summary.

Anuja Surve’s picture

StatusFileSize
new625 bytes
new67.23 KB

Patch attached, please review.

santosh_verma’s picture

Status: Active » Needs work

@Anuja Surve Certainly! Instead of directly modifying the CSS file, it is generally considered good practice to modify the source file and compile it to generate the final CSS file. Here's how you can approach it:

1. Locate the dropbutton.pcss.css source file that needs to be modified. This file is typically written in a preprocessor language like Sass or Less.
2. Make the necessary changes to the dropbutton.pcss.css source file.
3. Compile the modified source file to generate the final CSS file.
4. After compiling the modified source file, verify that the generated CSS file reflects your changes and create a patch.

for reference
https://www.drupal.org/docs/8/modules/claro/development

and after uploading the patch please change the status to need review

gauravvvv’s picture

Status: Needs work » Needs review
StatusFileSize
new1.37 KB

I have added a patch for same. please review

santosh_verma’s picture

I thoroughly tested patch #4 and verified that it functions correctly, successfully resolving the issue on popular browsers including Chrome, Safari, and Mozilla

RTBC + 1

santosh_verma’s picture

Status: Needs review » Reviewed & tested by the community
lauriii’s picture

Status: Reviewed & tested by the community » Closed (duplicate)