diff options
author | satorux@chromium.org <satorux@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-10-22 10:18:15 +0000 |
---|---|---|
committer | satorux@chromium.org <satorux@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-10-22 10:18:15 +0000 |
commit | 754fd160745415c3fe72f2809c7de0940c59d29e (patch) | |
tree | 0a773a98c99655b144102b636188757741c31070 | |
parent | 6dcf89becfcfb7521e45ebab29268e582f69aab2 (diff) | |
download | chromium_src-754fd160745415c3fe72f2809c7de0940c59d29e.zip chromium_src-754fd160745415c3fe72f2809c7de0940c59d29e.tar.gz chromium_src-754fd160745415c3fe72f2809c7de0940c59d29e.tar.bz2 |
Fix layout of the managed prefs banner.
Before this change, the icon and text were not proerly aligned.
TEST=manually check the layout. See crosbug.com/7938 for the screenshot
BUG=chromium-os:7938
Review URL: http://codereview.chromium.org/3996006
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@63499 0039d316-1c4b-4281-b951-d872f2087c98
-rw-r--r-- | chrome/browser/resources/options.html | 3 | ||||
-rw-r--r-- | chrome/browser/resources/options/options_page.css | 5 |
2 files changed, 7 insertions, 1 deletions
diff --git a/chrome/browser/resources/options.html b/chrome/browser/resources/options.html index e14099f..0b58072 100644 --- a/chrome/browser/resources/options.html +++ b/chrome/browser/resources/options.html @@ -304,7 +304,8 @@ window.onpopstate = function(e) { <div id="mainview"> <div class="hidden" id="managed-prefs-banner"> <span id="managed-prefs-icon"></span> - <span i18n-content="managedPrefsBannerText"></span> + <span id="managed-prefs-text" + i18n-content="managedPrefsBannerText"></span> </div> <div id="mainview-content"> <if expr="pp_ifdef('chromeos')"> diff --git a/chrome/browser/resources/options/options_page.css b/chrome/browser/resources/options/options_page.css index ccca955..2ec720a 100644 --- a/chrome/browser/resources/options/options_page.css +++ b/chrome/browser/resources/options/options_page.css @@ -204,6 +204,11 @@ html[hide-menu=true] #mainview { width: 24px; height: 21px; display: inline-block; + vertical-align: middle; +} + +#managed-prefs-text { + vertical-align: middle; } .page > h1 { |