diff --git a/browser/metro/base/content/bindings/urlbar.xml b/browser/metro/base/content/bindings/urlbar.xml index 92e87e7bf65..9ac51a3e890 100644 --- a/browser/metro/base/content/bindings/urlbar.xml +++ b/browser/metro/base/content/bindings/urlbar.xml @@ -485,7 +485,7 @@ - + diff --git a/browser/metro/base/content/browser-ui.js b/browser/metro/base/content/browser-ui.js index dde01e26c2c..54adf0e2548 100644 --- a/browser/metro/base/content/browser-ui.js +++ b/browser/metro/base/content/browser-ui.js @@ -592,10 +592,6 @@ var BrowserUI = { this._adjustDOMforViewState(aData); if (aData == "snapped") { FlyoutPanelsUI.hide(); - Elements.autocomplete.setAttribute("orient", "vertical"); - } - else { - Elements.autocomplete.setAttribute("orient", "horizontal"); } break; diff --git a/browser/metro/theme/browser.css b/browser/metro/theme/browser.css index 038432b6829..cd9a5359eb0 100644 --- a/browser/metro/theme/browser.css +++ b/browser/metro/theme/browser.css @@ -214,18 +214,14 @@ documenttab[selected] .documenttab-selection { padding-bottom: @toolbar_height@; } +#urlbar-autocomplete[viewstate="snapped"], +#urlbar-autocomplete[viewstate="portrait"], #start-container[viewstate="snapped"], #start-container[viewstate="portrait"] { -moz-box-orient: vertical; } -/*Formatting for the limited horizontal space of snapped*/ -#start-autocomplete[viewstate="snapped"] .richgrid-item-content { - -moz-box-orient: horizontal; -} - -#start-container, -#start-autocomplete { +#start-container { padding-left: 0; padding-right: 0; } @@ -1298,4 +1294,4 @@ setting[type="radio"] > vbox { #clear-notification-done { font-weight: bold; -} \ No newline at end of file +}