Layout Builder confirmation dialogs should all contain one standard CSS class

Created on 2 May 2019, about 5 years ago
Updated 10 April 2024, 3 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

Postponed: needs info

Version

11.0 πŸ”₯

Component
Layout builderΒ  β†’

Last updated about 3 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

Production build 0.69.0 2024