Skip to content

Commit b564797

Browse files
committed
refactor: update WidgetDropdown view
1 parent 860d8d5 commit b564797

File tree

1 file changed

+6
-8
lines changed

1 file changed

+6
-8
lines changed

src/views/widgets/WidgetsDropdown.vue

Lines changed: 6 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@
44
<CWidgetDropdown color="primary" header="9.823" text="Members online">
55
<template #default>
66
<CDropdown
7-
class="float-right"
87
color="transparent p-0"
98
placement="bottom-end"
109
>
@@ -20,10 +19,10 @@
2019
<template #footer>
2120
<CChartLineSimple
2221
pointed
23-
class="px-3"
22+
class="mt-3 mx-3"
2423
style="height:70px"
2524
:data-points="[65, 59, 84, 84, 51, 55, 40]"
26-
background-color="primary"
25+
point-hover-background-color="primary"
2726
label="Members"
2827
labels="months"
2928
/>
@@ -34,7 +33,6 @@
3433
<CWidgetDropdown color="info" header="9.823" text="Members online">
3534
<template #default>
3635
<CDropdown
37-
class="float-right"
3836
color="transparent p-0"
3937
placement="bottom-end"
4038
:caret="false"
@@ -51,10 +49,10 @@
5149
<template #footer>
5250
<CChartLineSimple
5351
pointed
54-
class="px-3"
52+
class="mt-3 mx-3"
5553
style="height:70px"
5654
:data-points="[1, 18, 9, 17, 34, 22, 11]"
57-
background-color="info"
55+
point-hover-background-color="info"
5856
:options="{ elements: { line: { tension: 0.00001 }}}"
5957
label="Members"
6058
labels="months"
@@ -70,7 +68,6 @@
7068
>
7169
<template #default>
7270
<CDropdown
73-
class="float-right"
7471
color="transparent p-0"
7572
placement="bottom-end"
7673
>
@@ -85,6 +82,7 @@
8582
</template>
8683
<template #footer>
8784
<CChartLineSimple
85+
class="mt-3"
8886
style="height:70px"
8987
background-color="rgba(255,255,255,.2)"
9088
:data-points="[78, 81, 80, 45, 34, 12, 40]"
@@ -104,7 +102,6 @@
104102
>
105103
<template #default>
106104
<CDropdown
107-
class="float-right"
108105
color="transparent p-0"
109106
placement="bottom-end"
110107
>
@@ -119,6 +116,7 @@
119116
</template>
120117
<template #footer>
121118
<CChartBarSimple
119+
class="mt-3 mx-3"
122120
style="height:70px"
123121
background-color="rgb(250, 152, 152)"
124122
label="Members"

0 commit comments

Comments
 (0)