Fix centering for "Show Totals" grid tool

This commit is contained in:
Lance Edgar 2024-04-28 02:41:45 -05:00
parent f2f023e7b3
commit 855fa7e1e2

View file

@ -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