Preview button style according to the context

Created on 11 August 2020, over 4 years ago
Updated 20 January 2023, almost 2 years ago

Problem/Motivation

In Claro admin theme, the preview button looks like:

Button classes should be adjusted according to the context.

Steps to reproduce

Just enable the module in a site using Claro as the admin theme.

Proposed resolution

In Paragraphs, button classes are set according to the "item mode" that is determined after a complex logic. Copy classes from existing button could be a way of avoid calculation of the appropriate button classes.

Remaining tasks

Review.

User interface changes

None.

API changes

N/A

Data model changes

N/A

🐛 Bug report
Status

Fixed

Version

1.0

Component

User interface

Created by

🇪🇸Spain manuel.adan 🌌

Live updates comments and jobs are added and updated live.
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.

No activities found.

Production build 0.71.5 2024