Problem/Motivation
After upgrading to Drupal 9.5.x I noticed the Add/Update Block primary button at the bottom of all block forms within the off-canvas tray is not displaying properly. The button displays extremely thin and extra wide (See attachment)
Steps to reproduce
- Navigate to any Layout Builder page to add or update blocks on that page
- Click "Configure block" from the quick edit button found in every block (off-canvas tray will open)
- If you are editing a block, scroll to the bottom of the block's form in the off-canvas tray and you will see the "Update block" button
- If you are adding a new block, Select the block you wish to add to the page and scroll to the bottom where you will see the "Add block" button
- You will notice the primary button not displaying properly
Proposed resolution
Update the button styles to ensure the button always displays properly and is easy to interact with.
Remaining tasks
N/A
User interface changes
Improve rendering of primary button in off-canvas tray.
API changes
N/A
Data model changes
N/A
| Comment | File | Size | Author |
|---|---|---|---|
| button.png | 48.14 KB | mariohernandez |
Issue fork patternkit-3359748
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:
- 3359748-add-block-button
changes, plain diff MR !75
Comments
Comment #5
mariohernandez commentedClosing issue after merging the bug fix.