diff options
author | csilv@chromium.org <csilv@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-03-18 22:48:48 +0000 |
---|---|---|
committer | csilv@chromium.org <csilv@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-03-18 22:48:48 +0000 |
commit | f94a224f8bad68b41b2ea50d53edd55e34547697 (patch) | |
tree | 582a035084906345849280f31767d2dfa3e6bec6 | |
parent | d01d28ce7146d08f81202f3cfebbe980920250fc (diff) | |
download | chromium_src-f94a224f8bad68b41b2ea50d53edd55e34547697.zip chromium_src-f94a224f8bad68b41b2ea50d53edd55e34547697.tar.gz chromium_src-f94a224f8bad68b41b2ea50d53edd55e34547697.tar.bz2 |
web-ui settings: Improve font settings layout, clean up related css file.
BUG=75327
TEST=Verify that sample font text is no longer clipped by default.
Review URL: http://codereview.chromium.org/6708040
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@78771 0039d316-1c4b-4281-b951-d872f2087c98
-rw-r--r-- | chrome/browser/resources/options/font_settings.css | 39 |
1 files changed, 20 insertions, 19 deletions
diff --git a/chrome/browser/resources/options/font_settings.css b/chrome/browser/resources/options/font_settings.css index 127952e..4772dbf 100644 --- a/chrome/browser/resources/options/font_settings.css +++ b/chrome/browser/resources/options/font_settings.css @@ -1,35 +1,36 @@ -#font-settings > section > .font-input-div { - -webkit-margin-end: 4em; +#font-settings > section { + overflow: hidden; } -.font-input-div > div > select { - margin-bottom: 10px; +#font-settings input[type="range"] { + width: 100%; } -.font-input-div > div > .font-input { - width: 12em; +#minimum-font-sample { + height: 35px; + overflow: hidden; + width: 270px; } -#font-settings > section { - overflow: hidden; +.font-input-div { + -webkit-margin-end: 3em; + width: 12em; } -#font-settings > section > .font-sample-div { - height: 70px; - overflow: hidden; - width: 300px; +.font-input-div > div > select { + margin-bottom: 10px; } -.font-settings-huge { - float: right; +.font-input { + width: 100%; } -#minimum-font-sample { - height: 35px; +.font-sample-div { + height: 70px; overflow: hidden; - width: 300px; + width: 270px; } -#font-settings input[type="range"] { - width: 100%; +.font-settings-huge { + float: right; } |