Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(react): Wrap all message buttons into a div #2285

Merged
merged 1 commit into from Dec 15, 2022

Conversation

asastre
Copy link
Contributor

@asastre asastre commented Nov 22, 2022

Description

Wrap all <button> elements of a message within a <div> element.

Context

All message buttons are rendered as <button> elements alongside the <div> element of the message content, and to be able to apply styles to all buttons as a block (not only to the button element) a wrapper element is needed.

Approach taken / Explain the design

Add the class botonic-buttons-container to this new wrapper div to be able to change its style easily.

To document / Usage example

Testing

The pull request has no tests.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants