react-email icon indicating copy to clipboard operation
react-email copied to clipboard

Button component custom styles are duplicated on the tree

Open praveentcom opened this issue 2 years ago • 1 comments

Path: /components/button

The styles applied on the button are duplicated. Upon checking the rendered code, it looks like the style applied is written on both the and tags.

Notice the border radius of 8px getting rendered weird due to this.

Rendered Button Rendered Code

praveentcom avatar Feb 25 '23 11:02 praveentcom

A few of the duplicated styles are needed for Outlook, but this is definitely a bug where the border is also duplicated. Thanks for reporting.

bukinoshita avatar Feb 26 '23 20:02 bukinoshita

Seems like this is fixed as of latest Button versions.

gabrielmfern avatar Jul 29 '24 19:07 gabrielmfern