Bug 1200749 - Make sync preference page buttons responsive. r=markh

This commit is contained in:
Edouard Oger 2015-09-01 11:34:00 +02:00
parent 5b354b3d5c
commit 0f172850ce
2 changed files with 9 additions and 4 deletions

View File

@ -252,8 +252,8 @@
<label id="fxaEmailAddress1"/>
<label id="fxaDisplayName" hidden="true"/>
<hbox class="fxaAccountBoxButtons" align="center">
<vbox flex="1"><button id="fxaUnlinkButton">&disconnect.label;</button></vbox>
<vbox flex="1"><label id="verifiedManage" class="text-link">&verifiedManage.label;</label></vbox>
<button id="fxaUnlinkButton">&disconnect.label;</button>
<label id="verifiedManage" class="text-link">&verifiedManage.label;</label>
</hbox>
</vbox>
</hbox>

View File

@ -468,13 +468,18 @@ description > html|a {
margin-top: 11px;
}
.fxaAccountBoxButtons button {
.fxaAccountBoxButtons > * {
-moz-box-flex: 1;
}
.fxaAccountBoxButtons > button {
padding-left: 11px;
padding-right: 11px;
margin: 0;
min-width: 0;
}
.fxaAccountBoxButtons button:first-child {
.fxaAccountBoxButtons > button:first-child {
margin-right: 14px !important;
}