Bug 964217 - search item is broken in Australis' customize code, r=mikedeboer

This commit is contained in:
Gijs Kruitbosch 2014-01-28 15:53:45 +00:00
parent 35d5f37fc7
commit 9306a5579a
3 changed files with 8 additions and 9 deletions

View File

@ -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);

View File

@ -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;

View File

@ -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@,