Make the '+' icon for action buttons optional

Created on 22 July 2015, almost 10 years ago
Updated 22 May 2025, 2 days ago

Follow-up to #2514150: Advertise the block region demonstration in a more prominent way

Problem/Motivation

All action buttons get a '+' icon, even the action does not add anything.

Proposed resolution

Add an option when rendering an action button that adds the icon in CSS when required.

API changes

Action buttons that want the '+' icon will need to specify it

Data model changes

None.

Feature request
Status

Needs work

Version

11.0 🔥

Component

CSS

Created by

🇬🇧United Kingdom lewisnyman Nomadic

Live updates comments and jobs are added and updated live.
  • Usability

    Makes Drupal easier to use. Preferred over UX, D7UX, etc.

  • CSS

    It involves the content or handling of Cascading Style Sheets.

  • Needs manual testing

    The change/bugfix cannot be fully demonstrated by automated testing, and thus requires manual testing in a variety of environments.

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.

  • 🇦🇺Australia mstrelan

    Another 3.5 years on from the last comment. The patches we have here are optionally adding a class and providing styles in classy. We no longer have classy, and the remaining themes have a mix of including the icon and not including it.

    • claro - icon
    • olivero - no icon
    • starterkit_theme - icon
    • umami - icon

    Not sure what's the next step, but it doesn't seem to be related to system.module so I'm changing the component to CSS.

Production build 0.71.5 2024