mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 891056 (part 1) - Code cleanup for autocomplete CSS [r=rsilveira]
This commit is contained in:
parent
15230bb10f
commit
4582b318ca
@ -485,7 +485,7 @@
|
||||
</binding>
|
||||
|
||||
<binding id="urlbar-autocomplete">
|
||||
<content orient="horizontal">
|
||||
<content>
|
||||
<xul:vbox id="results-vbox" anonid="results-container" flex="1">
|
||||
<xul:label class="meta-section-title"
|
||||
value="&autocompleteResultsHeader.label;"/>
|
||||
|
@ -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;
|
||||
|
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user