Fix centering for "Show Totals" grid tool
This commit is contained in:
parent
f2f023e7b3
commit
855fa7e1e2
|
@ -30,14 +30,16 @@
|
|||
|
||||
## grid totals
|
||||
% if master.supports_grid_totals:
|
||||
<b-button v-if="gridTotalsDisplay == null"
|
||||
:disabled="gridTotalsFetching"
|
||||
@click="gridTotalsFetch()">
|
||||
{{ gridTotalsFetching ? "Working, please wait..." : "Show Totals" }}
|
||||
</b-button>
|
||||
<div v-if="gridTotalsDisplay != null"
|
||||
class="control">
|
||||
Totals: {{ gridTotalsDisplay }}
|
||||
<div style="display: flex; align-items: center;">
|
||||
<b-button v-if="gridTotalsDisplay == null"
|
||||
:disabled="gridTotalsFetching"
|
||||
@click="gridTotalsFetch()">
|
||||
{{ gridTotalsFetching ? "Working, please wait..." : "Show Totals" }}
|
||||
</b-button>
|
||||
<div v-if="gridTotalsDisplay != null"
|
||||
class="control">
|
||||
Totals: {{ gridTotalsDisplay }}
|
||||
</div>
|
||||
</div>
|
||||
% endif
|
||||
|
||||
|
|
Loading…
Reference in a new issue