Problem/Motivation

Just found this...

          $widget_actions['actions']['edit_button'] = $this->expandButton([

            '#attributes' => ['class' => ['paragraphs-button']],

            '#attributes' => [
              'class' => ['paragraphs-icon-button', 'paragraphs-icon-button-edit'],
              'title' => $this->t('Edit'),
            ],

So i guess the first class isn't present at all? :-)

Proposed resolution

Drop the duplicate definition.

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

miro_dietiker created an issue. See original summary.

miro_dietiker’s picture

It seems the class paragraphs-button is completely unused, so we just drop it as it wasn't output anyways.

ioana apetri’s picture

Assigned: Unassigned » ioana apetri

I'll work. Thanks

ioana apetri’s picture

Status: Active » Needs review
FileSize
683 bytes
Berdir’s picture

Status: Needs review » Reviewed & tested by the community

Makes sense.

miro_dietiker’s picture

Status: Reviewed & tested by the community » Fixed

Committing, thanks. :-)

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.