Problem/Motivation

Unexpected duplicate selector ".dropbutton-wrapper.open .dropbutton__toggle::before" and double "margin-top" with different values, first used at line 208.

Line: 208
  .dropbutton-wrapper.open .dropbutton__toggle::before {
    margin-top: calc(0.5625rem / (2 * 1.41429));
    transform: translate(50%, -50%) rotate(315deg);
  }
...
Line: 225
  .dropbutton-wrapper.open .dropbutton__toggle::before {
    margin-top: calc(0.4375rem / (2 * 1.41429));
  }

Steps to reproduce

File: core/themes/claro/css/components/dropbutton.pcss.css

Proposed resolution

Line: 208
  .dropbutton-wrapper.open .dropbutton__toggle::before {
    margin-top: calc(0.4375rem / (2 * 1.41429));
    transform: translate(50%, -50%) rotate(315deg);
  }

Remaining tasks

no

User interface changes

no

API changes

no

Data model changes

no

Release notes snippet

CommentFileSizeAuthor
#3 3376474-3.patch1.68 KB_utsavsharma
#3 interdiff_3.txt0 bytes_utsavsharma

Comments

fnalb2 created an issue. See original summary.

cilefen’s picture

Issue tags: -CSS classes +Novice
_utsavsharma’s picture

Status: Active » Needs review
StatusFileSize
new0 bytes
new1.68 KB

Patch fixing the issue.
Please review.

smustgrave’s picture

Status: Needs review » Closed (duplicate)
Related issues: +#3376458: Update Stylelint to check for duplicate selectors