Problem/Motivation
The Paragraphs form widget in the Add/Edit Entity form has the wrong vertical positioning of the elements:
- The field name
- The drag&drop icon
The elements should be vertically centered, see the screenshot:

Steps to reproduce
Proposed resolution
Would be good to fix CSS to position these elements to the vertical center.
Remaining tasks
User interface changes
API changes
Data model changes
| Comment | File | Size | Author |
|---|---|---|---|
| #8 | paragraphs-3514005-fix-vertical-centering-form-widget-1.patch | 1.81 KB | murz |
| #7 | para.png | 108 KB | arunsahijpal |
| #6 | ksnip_20250321-134319.png | 116.92 KB | murz |
| #6 | ksnip_20250321-134122.png | 43.42 KB | murz |
| #6 | ksnip_20250321-133207.png | 110.65 KB | murz |
Issue fork paragraphs-3514005
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 #2
murzComment #3
arunsahijpal commentedWorking on it.
Comment #5
murzSeems I found the right solution to fix this, pushed changes to the MR https://git.drupalcode.org/project/paragraphs/-/merge_requests/182 - now it looks like this:

Please review.
Comment #6
murzAnd got one more problem with the drag&drop icon - if in the Paragraphs Field Widget set the "Edit mode = Closed", then - the visible icon jumps down, here is a problem:

We have a CSS that sets the height of the "div.handle" for some reason:
But I checked on the default draggable widget for the String field - and there it has zero size:

So, seems the Paragraph styling for it is redundant. I removed it in the last commit, and it fixes the issue:

Updated the MR
Comment #7
arunsahijpal commentedHi @murz
The paragraph is center alligned now so moving it to RTBC.
Comment #8
murzAttach a static patch file with those changes, to make it possible to use in composer until #3204538: GitLab Merge Requests Unable to Generate Incremental Patch Files is resolved.
Comment #9
murzReverting back the status