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;
}

Issue fork paragraphs-3306562

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:

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

fnalb2 created an issue. See original summary.

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

immaculatexavier’s picture

Committed in accordance to the proposed resolution

Vighneshh’s picture

Assigned: Unassigned » Vighneshh

Will fix the error in the patch

Vighneshh’s picture

I think doing direct changes in css file should not be done here , There is an scss file the changes should have been done their

immaculatexavier’s picture

Status: Active » Needs review

Addressed #6, Updated css/paragraphs.dragdrop.scss

fnalb2’s picture

Status: Needs review » Reviewed & tested by the community

reviewed