UX: center align exceptions page button on mobile

This commit is contained in:
Arpit Jalan 2016-03-28 22:11:08 +05:30
parent ef4877e009
commit e29806b9d3
3 changed files with 4 additions and 2 deletions

View File

@ -11,7 +11,8 @@ var ButtonBackBright = {
ButtonTryAgain = {
classes: "btn-primary",
action: "tryLoading",
key: "errors.buttons.again"
key: "errors.buttons.again",
icon: "refresh"
},
ButtonLoadPage = {
classes: "btn-primary",

View File

@ -14,7 +14,7 @@
</div>
<div class="buttons">
{{#each buttonData in enabledButtons}}
<button class="btn {{unbound buttonData.classes}}" {{action buttonData.action}}>{{boundI18n buttonData.key}}</button>
{{d-button icon=buttonData.icon action=buttonData.action label=buttonData.key class=buttonData.classes}}
{{/each}}
{{conditional-loading-spinner condition=loading}}
</div>

View File

@ -21,6 +21,7 @@
}
}
.buttons {
display: inline-flex;
margin-top: 15px;
button {