Chromium Code Reviews| Index: chrome/renderer/resources/neterror.css |
| diff --git a/chrome/renderer/resources/neterror.css b/chrome/renderer/resources/neterror.css |
| index 4939d0e41d04396bf596aa84d1930853427712f0..cf7cd4e8c9f331a1188d1476ee43531e493030e5 100644 |
| --- a/chrome/renderer/resources/neterror.css |
| +++ b/chrome/renderer/resources/neterror.css |
| @@ -37,6 +37,7 @@ a { |
| .icon { |
| -webkit-user-select: none; |
| + content: ''; |
|
edwardjung
2015/01/23 12:19:40
Fixes empty image icon flash bug:
https://code.goo
|
| } |
| .icon-generic { |
| @@ -165,9 +166,6 @@ a { |
| /* Decrease padding at low sizes. */ |
| @media (max-width: 640px), (max-height: 640px) { |
| - body { |
| - margin: 15px; |
| - } |
| h1 { |
| margin: 10px 0 15px; |
| } |
| @@ -282,8 +280,9 @@ html[subframe] body { |
| color: #2b2b2b; |
| font-size: 1em; |
| line-height: 1.55; |
| - margin: 100px auto 0; |
| + margin: 0 auto; |
| max-width: 600px; |
| + padding-top: 100px; |
| width: 100%; |
| } |
| @@ -324,7 +323,6 @@ html[subframe] body { |
| .suggested-left > #control-buttons, |
| .suggested-right > #control-buttons { |
| float: none; |
| - margin: 50px 0 20px; |
| } |
| } |
| @@ -345,3 +343,9 @@ html[subframe] body { |
| margin-top: 30px; |
| } |
| } |
| + |
| +@media (min-height: 240px) and (orientation: landscape) { |
| + .offline .interstitial-wrapper { |
| + margin-bottom: 20px; |
| + } |
| +} |