chore: fix some alignments

This commit is contained in:
Matthias 2024-08-14 08:00:01 +02:00
parent 06d283435a
commit f574fffcb1
3 changed files with 5 additions and 3 deletions

1
src/components.d.ts vendored
View File

@ -76,6 +76,7 @@ declare module 'vue' {
FreqaiModelSelect: typeof import('./components/ftbot/FreqaiModelSelect.vue')['default'] FreqaiModelSelect: typeof import('./components/ftbot/FreqaiModelSelect.vue')['default']
HourlyChart: typeof import('./components/charts/HourlyChart.vue')['default'] HourlyChart: typeof import('./components/charts/HourlyChart.vue')['default']
IMdiAlert: typeof import('~icons/mdi/alert')['default'] IMdiAlert: typeof import('~icons/mdi/alert')['default']
IMdiArrowDownThick: typeof import('~icons/mdi/arrow-down-thick')['default']
IMdiBank: typeof import('~icons/mdi/bank')['default'] IMdiBank: typeof import('~icons/mdi/bank')['default']
IMdiBrightness6: typeof import('~icons/mdi/brightness6')['default'] IMdiBrightness6: typeof import('~icons/mdi/brightness6')['default']
IMdiCancel: typeof import('~icons/mdi/cancel')['default'] IMdiCancel: typeof import('~icons/mdi/cancel')['default']

View File

@ -34,10 +34,10 @@ const autoRefreshLoc = computed({
<div v-if="bot" class="d-flex align-items-center justify-content-between w-100"> <div v-if="bot" class="d-flex align-items-center justify-content-between w-100">
<span class="me-2">{{ bot.botName || bot.botId }}</span> <span class="me-2">{{ bot.botName || bot.botId }}</span>
<div class="align-items-center d-flex"> <div class="d-flex align-items-center">
<BFormCheckbox <BFormCheckbox
v-model="autoRefreshLoc" v-model="autoRefreshLoc"
class="ms-auto float-end me-2 my-auto mt-1" input-class="ms-auto my-auto"
title="AutoRefresh" title="AutoRefresh"
variant="secondary" variant="secondary"
switch switch
@ -56,6 +56,7 @@ const autoRefreshLoc = computed({
<i-mdi-cancel class="offline" /> <i-mdi-cancel class="offline" />
</div> </div>
</BFormCheckbox> </BFormCheckbox>
<div v-if="!noButtons" class="float-end d-flex flex-align-center"> <div v-if="!noButtons" class="float-end d-flex flex-align-center">
<BButton <BButton
v-if="botStore.botStores[bot.botId].isBotLoggedIn" v-if="botStore.botStores[bot.botId].isBotLoggedIn"

View File

@ -16,7 +16,7 @@ const autoRefreshLoc = computed({
<div class="d-flex align-items-center ms-2"> <div class="d-flex align-items-center ms-2">
<BFormCheckbox <BFormCheckbox
v-model="autoRefreshLoc" v-model="autoRefreshLoc"
class="float-end my-auto mt-1" input-class="float-end my-auto mt-1"
title="AutoRefresh" title="AutoRefresh"
></BFormCheckbox> ></BFormCheckbox>
<BButton <BButton