mirror of
https://github.com/solidtime-io/solidtime.git
synced 2026-08-17 04:32:15 +01:00
last 7 days dashboard card design fixes
This commit is contained in:
@@ -8,7 +8,7 @@ const props = defineProps<{
|
|||||||
|
|
||||||
const seriesData = props.history.map((el) => {
|
const seriesData = props.history.map((el) => {
|
||||||
return {
|
return {
|
||||||
value: Math.max(el, 10),
|
value: el,
|
||||||
...{
|
...{
|
||||||
itemStyle: {
|
itemStyle: {
|
||||||
borderWidth: 1,
|
borderWidth: 1,
|
||||||
|
|||||||
@@ -15,7 +15,7 @@ defineProps<{
|
|||||||
<DashboardCard title="Last 7 Days" :icon="CalendarIcon">
|
<DashboardCard title="Last 7 Days" :icon="CalendarIcon">
|
||||||
<DayOverviewCardEntry
|
<DayOverviewCardEntry
|
||||||
v-for="day in last7Days"
|
v-for="day in last7Days"
|
||||||
:class="last7Days.length === 7 ? 'last:border-0' : ''"
|
:class="last7Days.length === 7 ? 'last:border-0 first:pt-3' : ''"
|
||||||
:key="day.date"
|
:key="day.date"
|
||||||
:date="day.date"
|
:date="day.date"
|
||||||
:history="day.history"
|
:history="day.history"
|
||||||
|
|||||||
Reference in New Issue
Block a user