From 1ccba957a046e88ade1344b56bda4a2cf726b1d0 Mon Sep 17 00:00:00 2001 From: liangping <18786721@qq.com> Date: Thu, 25 Aug 2022 10:33:36 +0800 Subject: [PATCH] Use smaller font size. --- .../dashboard/DashboardCardHorizontal.vue | 4 +- .../dashboard/DashboardCardVertical.vue | 4 +- .../dashboard/DashboardPriceChart2.vue | 68 ++++++++++++------- 3 files changed, 49 insertions(+), 27 deletions(-) diff --git a/src/views/components/dashboard/DashboardCardHorizontal.vue b/src/views/components/dashboard/DashboardCardHorizontal.vue index 477cb341..36fd7c91 100644 --- a/src/views/components/dashboard/DashboardCardHorizontal.vue +++ b/src/views/components/dashboard/DashboardCardHorizontal.vue @@ -2,9 +2,9 @@
-

+

{{ statistic }} -

+ {{ statisticTitle }}
-

+

{{ statistic }} -

+ {{ statisticTitle }}
diff --git a/src/views/components/dashboard/DashboardPriceChart2.vue b/src/views/components/dashboard/DashboardPriceChart2.vue index d8a5ed70..11874e02 100644 --- a/src/views/components/dashboard/DashboardPriceChart2.vue +++ b/src/views/components/dashboard/DashboardPriceChart2.vue @@ -36,30 +36,38 @@ text="Pairs" :variant="color" > - - - - {{ pair.market.name }} - - - {{ coinInfo.symbol }}/{{ pair.target }} - - - ${{ pair.converted_last.usd }} - - - + + + + {{ pair.market.name }} + + + {{ coinInfo.symbol }}/{{ pair.target }} + + + ${{ pair.converted_last.usd }} + + + +
@@ -199,6 +207,7 @@ import { } from 'bootstrap-vue' import VueApexCharts from 'vue-apexcharts' import { $themeColors } from '@themeConfig' +import VuePerfectScrollbar from 'vue-perfect-scrollbar' import FeatherIcon from '../../../@core/components/feather-icon/FeatherIcon.vue' export default { @@ -219,12 +228,16 @@ export default { BDropdown, BDropdownItem, FeatherIcon, + VuePerfectScrollbar, }, directives: { 'b-tooltip': VBTooltip, }, data() { return { + settings: { + maxScrollbarLength: 60, + }, colors: { green: 'success', yellow: 'warning', @@ -390,3 +403,12 @@ export default { }, } + +