Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
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
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
Comment #4
immaculatexavier CreditAttribution: immaculatexavier as a volunteer and at Srijan | A Material+ Company for Drupal India Association commentedCommitted in accordance to the proposed resolution
Comment #5
Vighneshh CreditAttribution: Vighneshh at QED42 for Drupal India Association commentedWill fix the error in the patch
Comment #6
Vighneshh CreditAttribution: Vighneshh at QED42 for Drupal India Association commentedI think doing direct changes in css file should not be done here , There is an scss file the changes should have been done their
Comment #7
immaculatexavier CreditAttribution: immaculatexavier as a volunteer and at Srijan | A Material+ Company for Drupal India Association commentedAddressed #6, Updated css/paragraphs.dragdrop.scss
Comment #8
fnalb2 CreditAttribution: fnalb2 commentedreviewed