Unexpected duplicate selector ".paragraphs-dragdrop-wrapper"

Created on 29 August 2022, over 2 years ago
Updated 21 February 2023, almost 2 years ago

Problem/Motivation

Duplication of selectors might indicate a copy-paste mistake. Unexpected duplicate selector ".paragraphs-dragdrop-wrapper", first used at line 1.

File: paragraphs/css/paragraphs.dragdrop.css

.paragraphs-dragdrop-wrapper {
  --dnd-item-chosen-bg: #fff;
  --dnd-item-chosen-border: #000;
  --dnd-item-ghost-bg: #d9edf7;
  --dnd-item-ghost-border: #0074bd;
  --dnd-icon-size: 28px;
  --dnd-item-indentation: 0.5em;
  --dnd-item-min-height: 30px;
}
...
.paragraphs-dragdrop-wrapper {
  position: relative;
  margin: 0;
  padding: 0;
}

Proposed resolution

.paragraphs-dragdrop-wrapper {
  margin: 0;
  padding: 0;
  position: relative;
  --dnd-icon-size: 28px;
  --dnd-item-chosen-bg: #fff;
  --dnd-item-chosen-border: #000;
  --dnd-item-ghost-bg: #d9edf7;
  --dnd-item-ghost-border: #0074bd;
  --dnd-item-indentation: 0.5em;
  --dnd-item-min-height: 30px;
}
🐛 Bug report
Status

RTBC

Version

1.0

Component

Code

Created by

🇩🇪Germany fnalb2

Live updates comments and jobs are added and updated live.
  • CSS

    It involves the content or handling of Cascading Style Sheets.

Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024