Bug 512332: Identity panel text layout is wrong, r=gavin

This commit is contained in:
Mark Finkle 2009-10-05 15:45:39 -04:00
parent 108d168869
commit 00d8aca2cf
4 changed files with 12 additions and 2 deletions

View File

@ -1756,7 +1756,7 @@ IdentityHandler.prototype = {
// Build an appropriate supplemental block out of whatever location data we have
if (iData.city)
supplemental += iData.city + "\n";
supplemental += iData.city + " ";
if (iData.state && iData.country)
supplemental += this._stringBundle.getFormattedString("identity.identified.state_and_country",
[iData.state, iData.country]);

View File

@ -275,7 +275,7 @@
<label id="identity-popup-connectedToLabel2" flex="1">&identity.unverifiedsite2;</label>
<description id="identity-popup-content-host" flex="1"/>
</hbox>
<hbox flex="1">
<hbox id="identity-popup-runBy-box">
<label id="identity-popup-runByLabel" value="&identity.runBy2;"/>
<description id="identity-popup-content-owner"/>
<description id="identity-popup-content-supplemental"/>

View File

@ -768,6 +768,11 @@ findbar .findbar-closebutton {
-moz-padding-start: 1mm; /* core spacing */
}
/* let the text flow into a second row, if needed */
#identity-popup-runBy-box {
display: block;
}
#identity-popup-content-box.unknownIdentity > hbox > #identity-popup-connectedToLabel,
#identity-popup-content-box.unknownIdentity > hbox > #identity-popup-runByLabel,
#identity-popup-content-box.unknownIdentity > hbox > #identity-popup-content-host,

View File

@ -491,6 +491,11 @@ findbar {
-moz-padding-start: 1.1mm; /* core spacing */
}
/* let the text flow into a second row, if needed */
#identity-popup-runBy-box {
display: block;
}
#identity-popup-content-box.unknownIdentity > hbox > #identity-popup-connectedToLabel,
#identity-popup-content-box.unknownIdentity > hbox > #identity-popup-runByLabel,
#identity-popup-content-box.unknownIdentity > hbox > #identity-popup-content-host,