chore: update CandleChart component styles

This commit is contained in:
Matthias 2024-08-07 19:28:42 +02:00
parent 4ca1910f6d
commit 9e2f119b7e
2 changed files with 3 additions and 6 deletions

1
src/components.d.ts vendored
View File

@ -22,6 +22,7 @@ declare module 'vue' {
BaseAlert: typeof import('./components/general/BaseAlert.vue')['default'] BaseAlert: typeof import('./components/general/BaseAlert.vue')['default']
BAvatar: typeof import('bootstrap-vue-next')['BAvatar'] BAvatar: typeof import('bootstrap-vue-next')['BAvatar']
BButton: typeof import('bootstrap-vue-next')['BButton'] BButton: typeof import('bootstrap-vue-next')['BButton']
BCard: typeof import('bootstrap-vue-next')['BCard']
BCollapse: typeof import('bootstrap-vue-next')['BCollapse'] BCollapse: typeof import('bootstrap-vue-next')['BCollapse']
BDropdown: typeof import('bootstrap-vue-next')['BDropdown'] BDropdown: typeof import('bootstrap-vue-next')['BDropdown']
BDropdownDivider: typeof import('bootstrap-vue-next')['BDropdownDivider'] BDropdownDivider: typeof import('bootstrap-vue-next')['BDropdownDivider']

View File

@ -720,16 +720,12 @@ watch(
</script> </script>
<template> <template>
<div class="chart-wrapper"> <div class="h-100 w-100">
<ECharts v-if="hasData" ref="candleChart" :theme="theme" autoresize manual-update /> <ECharts v-if="hasData" ref="candleChart" :theme="theme" autoresize manual-update />
</div> </div>
</template> </template>
<style scoped> <style scoped lang="scss">
.chart-wrapper {
width: 100%;
height: 100%;
}
.echarts { .echarts {
width: 100%; width: 100%;
min-height: 200px; min-height: 200px;