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