Problem/Motivation

This is part of the CSS modernization initiative.

Steps to reproduce

Remove @nest from the stylesheet present at https://git.drupalcode.org/project/drupal/-/blob/11.x/core/themes/claro/css/components/card.pcss.css

Proposed resolution

@nest was removed from the specification completely. Future versions of postcss-nesting plugin will error if you use @nest.
Refer to this link for further details.

Remaining tasks

Provide before and after screenshots.

Issue fork drupal-3410498

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

AkshayAdhav created an issue. See original summary.

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

bhumikavarshney’s picture

Status: Active » Needs review

Removed @nest from Claro's card stylesheet. Please review it.
Thank you!

smustgrave’s picture

Status: Needs review » Needs work

Thanks for working on this.

But was tagged novice which is intended for newer users. Based on your post history that would not include yourself. Please avoid novice issues.

Will need before/after screenshots.

smustgrave’s picture

Status: Needs work » Closed (duplicate)

Consolidating