Skip to content
This repository has been archived by the owner on Sep 6, 2021. It is now read-only.

Commit

Permalink
Merge pull request #4113 from TomMalbran/tom/issue-4091
Browse files Browse the repository at this point in the history
Fix #4091: Order of OK and Cancel buttons is reversed
  • Loading branch information
jasonsanjose committed Jun 6, 2013
2 parents 31b3db2 + 61df618 commit 3d56039
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion src/htmlContent/install-extension-dialog.html
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ <h1 class="dialog-title">{{INSTALL_EXTENSION_TITLE}}</h1>
</div>
<div class="modal-footer">
<button class="btn left browse-extensions">{{BROWSE_EXTENSIONS}}</button>
<button class="dialog-button btn primary" data-button-id="ok" disabled>{{INSTALL}}</button>
<button class="dialog-button btn" data-button-id="cancel">{{CANCEL}}</button>
<button class="dialog-button btn primary" data-button-id="ok" disabled>{{INSTALL}}</button>
</div>
</div>
3 changes: 3 additions & 0 deletions src/styles/brackets_patterns_override.less
Original file line number Diff line number Diff line change
Expand Up @@ -389,6 +389,9 @@
margin-left: 0;
margin-right: 5px;
}
.modal-footer .btn:not(.left) {
margin-left: 5px;
}

.platform-win {
/* Reverse Save/Cancel button order on Win */
Expand Down

0 comments on commit 3d56039

Please sign in to comment.