mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 964217 - search item is broken in Australis' customize code, r=mikedeboer
This commit is contained in:
parent
35d5f37fc7
commit
9306a5579a
@ -633,9 +633,6 @@ CustomizeMode.prototype = {
|
||||
|
||||
if (aNode.hasAttribute("flex")) {
|
||||
wrapper.setAttribute("flex", aNode.getAttribute("flex"));
|
||||
if (aPlace == "palette") {
|
||||
aNode.removeAttribute("flex");
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@ -702,10 +699,6 @@ CustomizeMode.prototype = {
|
||||
toolbarItem.checked = true;
|
||||
}
|
||||
|
||||
if (aWrapper.hasAttribute("flex") && !toolbarItem.hasAttribute("flex")) {
|
||||
toolbarItem.setAttribute("flex", aWrapper.getAttribute("flex"));
|
||||
}
|
||||
|
||||
if (aWrapper.hasAttribute("itemcommand")) {
|
||||
let commandID = aWrapper.getAttribute("itemcommand");
|
||||
toolbarItem.setAttribute("command", commandID);
|
||||
|
@ -137,6 +137,10 @@ toolbarpaletteitem[place="toolbar"] {
|
||||
display: none;
|
||||
}
|
||||
|
||||
#wrapper-personal-bookmarks:not([place="toolbar"]) > #personal-bookmarks {
|
||||
-moz-box-pack: center;
|
||||
}
|
||||
|
||||
#customization-palette > toolbarpaletteitem > label {
|
||||
text-align: center;
|
||||
margin-left: 0;
|
||||
|
@ -212,6 +212,8 @@ toolbaritem[cui-areatype="menu-panel"][sdkstylewidget="true"]:not(.panel-wide-it
|
||||
.panelUI-grid .toolbarbutton-1 > .toolbarbutton-icon,
|
||||
.customization-palette .toolbarbutton-1 > .toolbarbutton-menubutton-button > .toolbarbutton-icon,
|
||||
.customization-palette .toolbarbutton-1 > .toolbarbutton-icon,
|
||||
.panelUI-grid #bookmarks-toolbar-placeholder > .toolbarbutton-icon,
|
||||
.customization-palette #bookmarks-toolbar-placeholder > .toolbarbutton-icon,
|
||||
.panel-customization-placeholder-child > .toolbarbutton-icon {
|
||||
min-width: 32px;
|
||||
min-height: 32px;
|
||||
@ -532,8 +534,8 @@ toolbarpaletteitem[place="palette"] > #bookmarks-menu-button > .toolbarbutton-me
|
||||
}
|
||||
|
||||
toolbarpaletteitem[place="palette"] > #search-container {
|
||||
min-width: calc(@menuPanelWidth@ / 3);
|
||||
width: calc(@menuPanelWidth@ / 3);
|
||||
min-width: 7em;
|
||||
width: 7em;
|
||||
}
|
||||
|
||||
#edit-controls@inAnyPanel@,
|
||||
|
Loading…
Reference in New Issue
Block a user