Skip to content

Commit a6a8415

Browse files
Merge pull request rails#10426 from tkrajcar/rescue-h1-fix
Add styling to h1 for default rescue layout
2 parents 927d345 + 3bd887d commit a6a8415

File tree

1 file changed

+6
-0
lines changed
  • actionpack/lib/action_dispatch/middleware/templates/rescues

1 file changed

+6
-0
lines changed

actionpack/lib/action_dispatch/middleware/templates/rescues/layout.erb

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,12 @@
3434
padding: 0.5em 1.5em;
3535
}
3636

37+
h1 {
38+
margin: 0.2em 0;
39+
line-height: 1.1em;
40+
font-size: 2em;
41+
}
42+
3743
h2 {
3844
color: #C52F24;
3945
line-height: 25px;

0 commit comments

Comments
 (0)