diff options
author | jhawkins@chromium.org <jhawkins@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-12-21 01:36:44 +0000 |
---|---|---|
committer | jhawkins@chromium.org <jhawkins@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-12-21 01:36:44 +0000 |
commit | 966478bf59953f6c0aa2424ef58bd89d7a135759 (patch) | |
tree | 745412da975563b0729fb71480646d8a02d3fc19 /chrome | |
parent | 2a481b1496c5c9721b167d33a1c24cd2248f4887 (diff) | |
download | chromium_src-966478bf59953f6c0aa2424ef58bd89d7a135759.zip chromium_src-966478bf59953f6c0aa2424ef58bd89d7a135759.tar.gz chromium_src-966478bf59953f6c0aa2424ef58bd89d7a135759.tar.bz2 |
DOMUI: Set 'margin: 0' for the search input field.
BUG=63808
TEST=none
Review URL: http://codereview.chromium.org/6021003
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@69787 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome')
-rw-r--r-- | chrome/browser/resources/options/options_page.css | 4 | ||||
-rw-r--r-- | chrome/browser/resources/options/search_page.js | 4 |
2 files changed, 6 insertions, 2 deletions
diff --git a/chrome/browser/resources/options/options_page.css b/chrome/browser/resources/options/options_page.css index b9a38f2..71f311a 100644 --- a/chrome/browser/resources/options/options_page.css +++ b/chrome/browser/resources/options/options_page.css @@ -24,6 +24,10 @@ body { bottom: 0; } +#search-field { + margin: 0; +} + .overlay { position: fixed; left: 0; diff --git a/chrome/browser/resources/options/search_page.js b/chrome/browser/resources/options/search_page.js index 6db8106..875ddff 100644 --- a/chrome/browser/resources/options/search_page.js +++ b/chrome/browser/resources/options/search_page.js @@ -31,7 +31,7 @@ cr.define('options', function() { // Create a search field element. var searchField = document.createElement('input'); - searchField.id = 'searchField'; + searchField.id = 'search-field'; searchField.type = 'search'; searchField.setAttribute('autosave', 'org.chromium.options.search'); searchField.setAttribute('results', '10'); @@ -87,7 +87,7 @@ cr.define('options', function() { this.setSearchText_(''); } else { // Just wipe out any active search text since it's no longer relevant. - $('searchField').value = ''; + $('search-field').value = ''; } } |