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

CommentFileSizeAuthor
button.png48.14 KBmariohernandez

Issue fork patternkit-3359748

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:

Comments

mariohernandez created an issue. See original summary.

  • 3ea0c190 committed on 9.1.x
    Issue #3359748 by mariohernandez: Updates primary button styles in off-...
mariohernandez’s picture

Status: Active » Fixed

Closing issue after merging the bug fix.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.