Skip to content
Snippets Groups Projects
Commit 5b40f65a authored by Markus Stange's avatar Markus Stange
Browse files

Bug 459751 - about:sessionrestore switches button placement, r=zeniko

parent 1c1d59c2
No related branches found
No related tags found
No related merge requests found
......@@ -102,12 +102,21 @@
<!-- Buttons -->
<hbox xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul" id="buttons">
#ifdef XP_UNIX
<button id="errorCancel" label="&restorepage.cancelButton;"
accesskey="&restorepage.cancel.access;"
oncommand="startNewSession();"/>
<button id="errorTryAgain" label="&restorepage.restoreButton;"
accesskey="&restorepage.restore.access;"
oncommand="restoreSession();"/>
#else
<button id="errorTryAgain" label="&restorepage.restoreButton;"
accesskey="&restorepage.restore.access;"
oncommand="restoreSession();"/>
<button id="errorCancel" label="&restorepage.cancelButton;"
accesskey="&restorepage.cancel.access;"
oncommand="startNewSession();"/>
#endif
</hbox>
<!-- holds the session data for when the tab is closed -->
<input type="text" id="sessionData" style="display: none;"/>
......
......@@ -75,8 +75,7 @@ treechildren::-moz-tree-row(alternate, selected) {
}
#buttons {
width: 100%;
-moz-box-direction: reverse;
-moz-margin-start: 80px; /* same as #errorLongContent in netError.css */
}
#buttons > button {
margin-top: 2em;
......
......@@ -67,8 +67,9 @@ treechildren::-moz-tree-image(partial) {
}
#buttons {
width: 100%;
-moz-margin-start: 80px; /* same as #errorLongContent in netError.css */
}
#buttons > button {
margin-top: 2em;
-moz-margin-start: 6px;
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment