From 417bdbbf177e65a28fb4cbcfe27eb7326823ff56 Mon Sep 17 00:00:00 2001 From: Carlos Antonio da Silva Date: Thu, 2 May 2013 12:09:15 -0700 Subject: [PATCH] Merge pull request #10426 from tkrajcar/rescue-h1-fix Add styling to h1 for default rescue layout --- .../action_dispatch/middleware/templates/rescues/layout.erb | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/actionpack/lib/action_dispatch/middleware/templates/rescues/layout.erb b/actionpack/lib/action_dispatch/middleware/templates/rescues/layout.erb index 891c87ac27316..bc5d03dc10984 100644 --- a/actionpack/lib/action_dispatch/middleware/templates/rescues/layout.erb +++ b/actionpack/lib/action_dispatch/middleware/templates/rescues/layout.erb @@ -34,6 +34,12 @@ padding: 0.5em 1.5em; } + h1 { + margin: 0.2em 0; + line-height: 1.1em; + font-size: 2em; + } + h2 { color: #C52F24; line-height: 25px;