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

Two same CSS properties on same dom element does not work #433

Open
seawerst opened this issue Oct 4, 2023 · 1 comment
Open

Two same CSS properties on same dom element does not work #433

seawerst opened this issue Oct 4, 2023 · 1 comment

Comments

@seawerst
Copy link

seawerst commented Oct 4, 2023

This code is perfectly valid CSS:

 .emailsender {
    font-size: medium;
    font-size: max(16px, 1rem);
    -webkit-text-size-adjust: 100%;
    -ms-text-size-adjust: 100%;
    text-size-adjust: 100%; width: 100%;
}

but because there are two of the same properties (font-size), Premailer will only take the second one and ignore the first one.

@grosser
Copy link
Contributor

grosser commented Oct 4, 2023 via email

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

No branches or pull requests

2 participants