Layout Builder confirmation dialogs should all contain one standard CSS class

Created on 2 May 2019, over 5 years ago
Updated 18 July 2024, 4 months ago

Currently Layout Builder's messages have classes similar to s similar to layout-builder-discard-changes or layout-builder-revert-overrides. This makes styling these difficult, because the front-end dev needs to know a list of these CSS classes.

We should add a CSS class similar to layout-builder-message to these elements. Front-end devs would easily be target this with confidence that it will not change. The additional confirmation CSS class would remain unchanged, and be used as the modifier class.

✨ Feature request
Status

Closed: won't fix

Version

11.0 πŸ”₯

Component
Layout builderΒ  β†’

Last updated about 12 hours ago

Created by

πŸ‡ΊπŸ‡ΈUnited States mherchel Gainesville, FL, US

Live updates comments and jobs are added and updated live.
  • Blocks-Layouts

    Blocks and Layouts Initiative. See the #2811175 Add layouts to Drupal issue.

Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

  • πŸ‡³πŸ‡ΏNew Zealand danielveza Brisbane, AU

    There hasn't been any further requests for this since 2019, and from what I can see other modules in core don't provide a common class for their confirm forms.

    Considering this custom generic class can be added in on a site basis with a form_alter I think I'm -1 for this.

    Leaving open so others can put their thoughts in

  • Status changed to Closed: won't fix 4 months ago
  • πŸ‡³πŸ‡ΏNew Zealand danielveza Brisbane, AU

    This has been open for 5 years with no comments outside of the original post, and no further updates in 3 months since I put thoughts in, so I'm now marking this issue as closed.

    Thanks!

Production build 0.71.5 2024