Add block button (primary button) not displaying properly

Created on 11 May 2023, about 1 year ago
Updated 30 May 2023, about 1 year ago

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

πŸ› Bug report
Status

Fixed

Version

9.1

Component

Module Core

Created by

πŸ‡ΊπŸ‡ΈUnited States mariohernandez Los Angeles

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

Comments & Activities

Production build 0.69.0 2024