Skip to content

Simple list demo doesnt work in gmail #2595

@hillac

Description

@hillac

Describe the Bug

The simple list demo code with css inline styles fails to render correctly on mobile and desktop gmail. The numbers aren't centered, sometime the circles aren't circular either.

Image Image

Which package is affected (leave empty if unsure)

No response

Link to the code that reproduces this issue

https://github.com/resend/react-email/blob/e87e6fc4d85f45b6a25df2d7bc1bd520627aaff2/apps/web/components/simple-list/inline-styles.tsx

To Reproduce

I create a new react email project with npx create-email@latest. Then create a new email with the code from simple list css inline styles demo code. Then run the dev server, and send the email to myself on gmail.

Expected Behavior

Number should be aligned correctly

What's your node version? (if relevant)

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions