mirror of
https://github.com/solidtime-io/solidtime.git
synced 2026-08-11 01:32:16 +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) => {
|
||||
return {
|
||||
value: Math.max(el, 10),
|
||||
value: el,
|
||||
...{
|
||||
itemStyle: {
|
||||
borderWidth: 1,
|
||||
|
||||
@@ -15,7 +15,7 @@ defineProps<{
|
||||
<DashboardCard title="Last 7 Days" :icon="CalendarIcon">
|
||||
<DayOverviewCardEntry
|
||||
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"
|
||||
:date="day.date"
|
||||
:history="day.history"
|
||||
|
||||
Reference in New Issue
Block a user