Fix balance layout

This commit is contained in:
Matthias 2022-12-24 10:53:01 +01:00
parent 8a34280bb0
commit 038e4df8f7

View File

@ -2,19 +2,20 @@
<div>
<div class="mb-2">
<label class="me-auto h3">Balance</label>
<b-button class="float-end" size="sm" @click="botStore.activeBot.getBalance"
>&#x21bb;</b-button
>
<b-form-checkbox
v-model="hideSmallBalances"
class="float-end"
size="sm"
title="Hide small balances"
button
>
<HideIcon v-if="hideSmallBalances" :size="16" />
<ShowIcon v-else :size="16" />
</b-form-checkbox>
<div class="float-end d-flex flex-row">
<b-button
size="sm"
title="Hide small balances"
@click="hideSmallBalances = !hideSmallBalances"
>
<HideIcon v-if="hideSmallBalances" :size="16" />
<ShowIcon v-else :size="16" />
</b-button>
<b-button class="float-end" size="sm" @click="botStore.activeBot.getBalance"
>&#x21bb;</b-button
>
</div>
</div>
<BalanceChart v-if="balanceCurrencies" :currencies="balanceCurrencies" />
<div>