UI: Fix confirmation position for right-aligned TSBs (#7590)

Without this, the confirmation text was extending beyond the
edge of the page.
This commit is contained in:
Buck Doyle 2020-04-02 11:58:29 -05:00 committed by GitHub
parent 3557099f4c
commit 3bc13a715e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 5 additions and 0 deletions

View file

@ -26,6 +26,7 @@
</div>
{{two-step-button
data-test-stop
alignRight=true
idleText="Stop"
cancelText="Cancel"
confirmText="Yes, Stop"
@ -35,6 +36,7 @@
onConfirm=(perform stopAllocation)}}
{{two-step-button
data-test-restart
alignRight=true
idleText="Restart"
cancelText="Cancel"
confirmText="Yes, Restart"

View file

@ -34,6 +34,7 @@
</div>
{{two-step-button
data-test-restart
alignRight=true
idleText="Restart"
cancelText="Cancel"
confirmText="Yes, Restart"

View file

@ -11,6 +11,7 @@
</div>
{{two-step-button
data-test-stop
alignRight=true
idleText="Stop"
cancelText="Cancel"
confirmText="Yes, Stop"
@ -20,6 +21,7 @@
{{else}}
{{two-step-button
data-test-start
alignRight=true
idleText="Start"
cancelText="Cancel"
confirmText="Yes, Start"