Cancel link in top bar adds padding and hides page title

Created on 10 July 2025, about 1 month ago

Problem/Motivation

We noticed this on confirm forms after upgrading to 5.x for Drupal 11.2

Steps to reproduce

I went to flush an image style as that is one operation not in an AJAX

Proposed resolution

??? not sure as it has `button` class

Remaining tasks

User interface changes

API changes

Data model changes

🐛 Bug report
Status

Active

Version

5.0

Component

Code

Created by

🇺🇸United States mglaman WI, USA

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

Merge Requests

Comments & Activities

  • Issue created by @mglaman
  • 🇺🇸United States mglaman WI, USA
  • 🇺🇸United States mglaman WI, USA
  • Merge request !639Fix .button in top bar → (Open) created by mglaman
  • 🇺🇸United States mglaman WI, USA
  • Pipeline finished with Success
    about 1 month ago
    Total: 154s
    #545523
  • 🇮🇳India siddharthjain

    Hi @mglaman
    I am unable to replicate this issue on Drupal 11.2 using 5.0.x branch. The Flush and Cancel button shows below the instruction message. Attaching screenshot also for reference.

  • 🇺🇸United States mglaman WI, USA

    @siddharthjain do you have the navigation module installed?

  • 🇮🇳India siddharthjain

    After enabling the Navigation module, I am seeing the issue. The Merge Request (MR) looks good. I’ve updated the description accordingly and attached before-and-after screenshots for reference.

  • 🇺🇸United States mglaman WI, USA

    The same problem exists for delete links `.action-link`

  • Pipeline finished with Success
    about 1 month ago
    Total: 166s
    #556219
  • First commit to issue fork.
  • Hi there,
    I've also encountered the issue and after applying the patch the issue gets resolved but the padding on the cancel button and the Flush button is not matching. So I think it'd be better if we can match the styling of both the buttons. I've made the minor changes which brings both the button as same style, which IMO looks uniform. Attaching before and after screenshots for reference.

  • 🇮🇳India vinodhini.e chennai

    Hi , Tested on Drupal 11.2.2 with Gin theme and Navigation module:

    I have set up the Gin theme on Drupal 11.2.2.
    After installing the Navigation module, I also encountered the same padding issue when flushing the image styles.
    After applying and merging MR !639, the issue is resolved.
    The padding now appear to be working as expected.

    Thanks for the fix!

  • 🇮🇳India divya.sejekan

    Verified using Mr!639
    - Using drupal 11x , Gin , Navigation module

    The padding of the button looks fine now.
    RTBC++

Production build 0.71.5 2024