Index: chrome/renderer/resources/plugin_placeholders.css |
diff --git a/chrome/renderer/resources/plugin_placeholders.css b/chrome/renderer/resources/plugin_placeholders.css |
index 4bd5fd9ec16dacdb2780beb14c5ad5a9658c3ce2..cae0362dd6c711891e6e0d7eaa90828ff51457b1 100644 |
--- a/chrome/renderer/resources/plugin_placeholders.css |
+++ b/chrome/renderer/resources/plugin_placeholders.css |
@@ -2,12 +2,14 @@ |
* Use of this source code is governed by a BSD-style license that can be |
* found in the LICENSE file. */ |
-body { |
+html, body { |
+ -webkit-user-select: none; |
font-family: sans-serif; |
+ height: 100%; |
margin: 0; |
overflow: hidden; |
text-align: center; |
- -webkit-user-select: none; |
+ width: 100%; |
} |
h1 { |
@@ -37,33 +39,33 @@ p { |
} |
#inner { |
- position: relative; |
height: 100%; |
- width: 100%; |
- top: 50%; |
<if expr="not is_android"> |
margin-top: -70px; |
</if> |
<if expr="is_android"> |
margin-top: -14px; |
</if> |
+ position: relative; |
+ top: 50%; |
+ width: 100%; |
} |
#close { |
-<if expr="not is_android"> |
- visibility: hidden; |
-</if> |
- cursor: pointer; |
- position: absolute; |
- right: 3px; |
- top: 3px; |
- height: 14px; |
- width: 14px; |
background-image: -webkit-image-set( |
url(../../../ui/resources/default_100_percent/close_2.png) 1x, |
url(../../../ui/resources/default_200_percent/close_2.png) 2x); |
background-position: right top; |
background-repeat: no-repeat; |
+ cursor: pointer; |
+ height: 14px; |
+ position: absolute; |
+ right: 3px; |
+ top: 3px; |
+<if expr="not is_android"> |
+ visibility: hidden; |
+</if> |
+ width: 14px; |
} |
#close:hover { |