UX: center align exceptions page button on mobile
This commit is contained in:
parent
ef4877e009
commit
e29806b9d3
|
@ -11,7 +11,8 @@ var ButtonBackBright = {
|
||||||
ButtonTryAgain = {
|
ButtonTryAgain = {
|
||||||
classes: "btn-primary",
|
classes: "btn-primary",
|
||||||
action: "tryLoading",
|
action: "tryLoading",
|
||||||
key: "errors.buttons.again"
|
key: "errors.buttons.again",
|
||||||
|
icon: "refresh"
|
||||||
},
|
},
|
||||||
ButtonLoadPage = {
|
ButtonLoadPage = {
|
||||||
classes: "btn-primary",
|
classes: "btn-primary",
|
||||||
|
|
|
@ -14,7 +14,7 @@
|
||||||
</div>
|
</div>
|
||||||
<div class="buttons">
|
<div class="buttons">
|
||||||
{{#each buttonData in enabledButtons}}
|
{{#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}}
|
{{/each}}
|
||||||
{{conditional-loading-spinner condition=loading}}
|
{{conditional-loading-spinner condition=loading}}
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -21,6 +21,7 @@
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
.buttons {
|
.buttons {
|
||||||
|
display: inline-flex;
|
||||||
margin-top: 15px;
|
margin-top: 15px;
|
||||||
|
|
||||||
button {
|
button {
|
||||||
|
|
Loading…
Reference in New Issue