Skip to content

Keep @media query CSS for responsive #265

@lepture

Description

@lepture

For example:

<style>
h1 {
  font-size: 14px;
}

@media only screen and (max-width: 620px) {
  h1 {
    font-size: 16px;
  }
}
</style>
<h1>Hello</h1>

Should be converted to:

<style>
@media only screen and (max-width: 620px) {
  h1 {
    font-size: 16px;
  }
}
</style>
<h1 style="font-size:14px">Hello</h1>

The media query is used for responsive emails.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions