Skip to content

Commit

Permalink
mjml layout font: fix invalid tags, make default
Browse files Browse the repository at this point in the history
Does not work on gmail, but tags are now valids, and we provide a
fallback on common fonts
  • Loading branch information
skelz0r committed Oct 20, 2023
1 parent 232f665 commit 7039484
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions app/views/layouts/mailer.html.mjml
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
<mjml owa="desktop" version="4.14.1">
<mj-head>
<mj-font
name="Open Sans"
href="https://fonts.googleapis.com/css?family=Open+Sans:wght@300;400;500;600;700;800&display=swap" />
<mj-attributes>
<mj-font
name="Open Sans"
href="https://fonts.googleapis.com/css?family=Open+Sans:wght@300;400;500;600;700;800&display=swap'" />
<mj-text font-size="15px" font-family="Open Sans" />
<mj-all font-family="Open Sans, sans-serif"/>
<mj-text font-size="15px" font-family="Open Sans, Helvetica Neue, Helvetica, sans-serif" />
<mj-all font-family="Open Sans, Helvetica Neue, Helvetica, sans-serif"/>
<mj-section background-color="#ffffff" />
<mj-divider
border-color="#a6b0d2"
Expand Down

0 comments on commit 7039484

Please sign in to comment.