Fix : Dashboard Deck widget overlap + align issue

Signed-off-by: Jérôme Herbinet <33763786+Jerome-Herbinet@users.noreply.github.com>

Signed-off-by: Jérôme Herbinet <33763786+Jerome-Herbinet@users.noreply.github.com>
This commit is contained in:
Jérôme Herbinet
2022-09-26 13:47:20 +02:00
committed by Julius Härtl
parent d93b431554
commit 86ab64160c

View File

@@ -97,7 +97,7 @@ export default {
list.sort((a, b) => {
return (new Date(a.duedate)).getTime() - (new Date(b.duedate)).getTime()
})
return list.slice(0, 6)
return list.slice(0, 5)
},
cardLink() {
return (card) => {
@@ -140,9 +140,8 @@ export default {
.card {
display: block;
border-radius: var(--border-radius-large);
padding: 8px;
height: 60px;
padding: 5px 8px;
height: 70px;
&:hover {
background-color: var(--color-background-hover);
}
@@ -155,11 +154,14 @@ export default {
text-overflow: ellipsis;
white-space: nowrap;
display: block;
position: relative;
top: 3px;
}
}
.labels {
margin-left: 0;
margin-top: 3px;
}
.duedate::v-deep {