summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorqinmin@chromium.org <qinmin@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-02-15 21:22:44 +0000
committerqinmin@chromium.org <qinmin@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-02-15 21:22:44 +0000
commitada8d715379d1dcde5e62f36284f4df3c98c8c53 (patch)
treeaa3bdc8a92beb66b6c48cdd27a7e3a4bfdda9864
parent467a1036c61793da05d1c18737876cdd57448251 (diff)
downloadchromium_src-ada8d715379d1dcde5e62f36284f4df3c98c8c53.zip
chromium_src-ada8d715379d1dcde5e62f36284f4df3c98c8c53.tar.gz
chromium_src-ada8d715379d1dcde5e62f36284f4df3c98c8c53.tar.bz2
Fix a problem that scrollbar is shown for youtube plugin
The inner div will inherit the size from the main div So the document size becomes 150% of the plugin size, and causing the scrollbar to be shown Use overflow:hidden should fix this Also added some rooms for the youtube logo BUG=176259 Review URL: https://chromiumcodereview.appspot.com/12230047 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@182829 0039d316-1c4b-4281-b951-d872f2087c98
-rw-r--r--chrome/renderer/resources/mobile_youtube_plugin.html5
1 files changed, 3 insertions, 2 deletions
diff --git a/chrome/renderer/resources/mobile_youtube_plugin.html b/chrome/renderer/resources/mobile_youtube_plugin.html
index 917c29e..1147048 100644
--- a/chrome/renderer/resources/mobile_youtube_plugin.html
+++ b/chrome/renderer/resources/mobile_youtube_plugin.html
@@ -13,6 +13,7 @@ body {
background-color: black;
background-repeat: no-repeat;
background-size: cover;
+ overflow: hidden;
}
#main {
@@ -32,8 +33,8 @@ body {
#logo {
position: absolute;
- right: 0px;
- bottom: 0px;
+ right: 5px;
+ bottom: 5px;
}
#play {