last 7 days dashboard card design fixes

This commit is contained in:
Gregor Vostrak
2024-04-20 01:11:18 +02:00
parent 0650480246
commit 20c7a7a194
2 changed files with 2 additions and 2 deletions

View File

@@ -8,7 +8,7 @@ const props = defineProps<{
const seriesData = props.history.map((el) => {
return {
value: Math.max(el, 10),
value: el,
...{
itemStyle: {
borderWidth: 1,

View File

@@ -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"