Add option to include custom class into Micromodal

Created on 7 July 2024, 9 months ago
Updated 8 July 2024, 9 months ago

Problem/Motivation

In some cases, different types of Modals are created.
For example:
1) Highlighted Products
2) Regular Products
Both have Micromodal.
However, the first has a different style to show that it is a highlight.
It would be great to have a specific class.
This way, we set it in all Micromodals.
And the style is done only once.

Proposed resolution

Add a new setting for the class.
Update the inline template to add the class if it exists.
Reflect the update for the second block template.
Ensure it works when there is no class (default).

Remaining tasks

User interface changes

API changes

Data model changes

Feature request
Status

Fixed

Version

1.4

Component

Code

Created by

🇧🇷Brazil renatog Campinas

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Merge Requests

Comments & Activities

Production build 0.71.5 2024