entityreference widget dropdown button css is broken since core 9.5

Created on 3 March 2023, almost 2 years ago
Updated 15 March 2023, almost 2 years ago

Problem/Motivation

Entityreference widget dropdown button css is broken since core 9.5
From this commit https://github.com/drupal/drupal/commit/2e43a28e95070688d6b0914d57700544...
There is more qualification on the dropbutton-widget class, so the override

.js .field--widget-entity-reference-paragraphs .dropbutton-widget {
  position: relative;
}

in paragraphs.admin.css does not work anymore.

It results in a misposition of the dropdown buttons, it appears out of the row on the right

Steps to reproduce

The issue appears with seven admin theme using paragraph widget and dropdown buttons.

Proposed resolution

in paragraphs.admin.css, replacing :

.js .field--widget-entity-reference-paragraphs .dropbutton-widget {
  position: relative;
}

with :

.js .field--widget-entity-reference-paragraphs .dropbutton-multiple .dropbutton-widget {
  position: relative;
}

Fixes the bug.

Remaining tasks

Create a patch.

User interface changes

none

API changes

none

Data model changes

none

🐛 Bug report
Status

Active

Version

1.15

Component

Code

Created by

🇫🇷France dom18fr

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.71.5 2024