Bug 787274. Move urlbar min-width from #urlbar to the text input itself to ensure gadgets like the identity box are allowed to add to the min-width. r=dao

--HG--
extra : rebase_source : 15c370ee705e9ae846fc930be249ab7650b02824
This commit is contained in:
Robert O'Callahan 2012-10-05 15:28:46 +13:00
parent 2d86008bfd
commit 29e0be51bc
4 changed files with 4 additions and 3 deletions

View File

@ -898,7 +898,6 @@ toolbar[iconsize="small"] #feed-button {
/* Location bar */
#urlbar {
width: 7em;
min-width: 7em;
-moz-appearance: textfield;
padding: 0;
}
@ -910,6 +909,7 @@ toolbar[iconsize="small"] #feed-button {
.urlbar-input-box {
-moz-margin-start: 0;
min-width: 4em;
}
.urlbar-history-dropmarker {

View File

@ -1113,7 +1113,6 @@ toolbar[mode="icons"] #zoom-in-button {
.searchbar-textbox {
font: icon;
width: 7em;
min-width: 7em;
-moz-appearance: none;
box-shadow: 0 1px rgba(255, 255, 255, 0.2), inset 0 1px hsla(0,0%,0%,.05);
margin: 0 4px;
@ -1284,6 +1283,7 @@ toolbar[mode="icons"] #zoom-in-button {
.urlbar-input-box {
-moz-margin-start: 0;
padding: 3px 0 2px;
min-width: 4em;
}
.urlbar-history-dropmarker {

View File

@ -4,6 +4,7 @@
.searchbar-textbox {
border-radius: 10000px;
min-width: 6em;
}
.searchbar-engine-button {

View File

@ -1175,7 +1175,6 @@ toolbar[mode=full] .toolbarbutton-1 > .toolbarbutton-menubutton-button {
#urlbar {
width: 7em;
min-width: 7em;
-moz-padding-end: 2px;
}
@ -1265,6 +1264,7 @@ html|*.urlbar-input:-moz-lwtheme:-moz-placeholder,
.urlbar-input-box {
-moz-margin-start: 0;
min-width: 4em;
}
#urlbar-icons {