Skip to content

Commit 0dc0039

Browse files
authored
Merge pull request rails#53328 from bloycey/hotfix/mailer_css
Prevent double scrollbar issue on mailer previews
2 parents 83513d8 + 97c1656 commit 0dc0039

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

railties/lib/rails/templates/rails/mailers/email.html.erb

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,8 @@
99

1010
body {
1111
margin: 0;
12+
display: flex;
13+
flex-direction: column;
1214
}
1315

1416
header {
@@ -18,7 +20,6 @@
1820
background: white;
1921
font: 12px "Lucida Grande", sans-serif;
2022
border-bottom: 1px solid #dedede;
21-
overflow: hidden;
2223
}
2324

2425
dl {

0 commit comments

Comments
 (0)