Label should not be part of TimeframeSelect

This commit is contained in:
Matthias 2021-05-23 17:06:04 +02:00
parent b8d7fa809b
commit 7c456d4f24
3 changed files with 19 additions and 16 deletions

View File

@ -1,10 +1,4 @@
<template> <template>
<b-form-group
label-cols-sm="5"
label="Timeframe:"
label-align-sm="right"
label-for="timeframe-select"
>
<b-form-select <b-form-select
id="timeframe-select" id="timeframe-select"
v-model="selectedTimeframe" v-model="selectedTimeframe"
@ -12,7 +6,6 @@
:options="availableTimeframes" :options="availableTimeframes"
@change="emitSelectedTimeframe" @change="emitSelectedTimeframe"
></b-form-select> ></b-form-select>
</b-form-group>
</template> </template>
<script lang="ts"> <script lang="ts">

View File

@ -80,8 +80,15 @@
label-size="sm" label-size="sm"
label-class="font-weight-bold pt-0" label-class="font-weight-bold pt-0"
class="mb-0" class="mb-0"
>
<b-form-group
label-cols-sm="5"
label="Timeframe:"
label-align-sm="right"
label-for="timeframe-select"
> >
<TimeframeSelect v-model="selectedTimeframe" /> <TimeframeSelect v-model="selectedTimeframe" />
</b-form-group>
<b-form-group <b-form-group
label-cols-sm="5" label-cols-sm="5"

View File

@ -7,8 +7,11 @@
<div v-if="historicView" class="mx-3 mt-2 d-flex"> <div v-if="historicView" class="mx-3 mt-2 d-flex">
<TimeRangeSelect v-model="timerange" class="col-md-4 mr-2"></TimeRangeSelect> <TimeRangeSelect v-model="timerange" class="col-md-4 mr-2"></TimeRangeSelect>
<StrategyList v-model="strategy" class="col-md-3"></StrategyList> <StrategyList v-model="strategy" class="col-md-3"></StrategyList>
<div class="col-md-3">
<span class="mb-1">Timeframe</span>
<TimeframeSelect v-model="selectedTimeframe" /> <TimeframeSelect v-model="selectedTimeframe" />
</div> </div>
</div>
<div class="flex-fill mx-2 mt-1"> <div class="flex-fill mx-2 mt-1">
<CandleChartContainer <CandleChartContainer