diff --git a/package-lock.json b/package-lock.json
index 6fdfd8c72..64132d461 100644
--- a/package-lock.json
+++ b/package-lock.json
@@ -3852,9 +3852,9 @@
}
},
"@nextcloud/vue-dashboard": {
- "version": "0.1.6",
- "resolved": "https://registry.npmjs.org/@nextcloud/vue-dashboard/-/vue-dashboard-0.1.6.tgz",
- "integrity": "sha512-AgJMFYLuWWKi7U5TE+Zjta02OzS83nMgmgQZOjvP92VV/TwcxMnUo/3eJRaNrAnoRej4x1hjdroQC8PgDbZqzQ==",
+ "version": "0.1.8",
+ "resolved": "https://registry.npmjs.org/@nextcloud/vue-dashboard/-/vue-dashboard-0.1.8.tgz",
+ "integrity": "sha512-OGr1oK/WF9+bYHK8dE8Vjwh3IDNamN+9MSti1VO7zuUSm5A9EGCzAghR7zzCG4O43rAJEDcvnQwsYIiA6g4Yrw==",
"requires": {
"@nextcloud/vue": "^2.3.0",
"core-js": "^3.6.4",
diff --git a/package.json b/package.json
index 47023536e..d1a62cc47 100644
--- a/package.json
+++ b/package.json
@@ -40,7 +40,7 @@
"@nextcloud/moment": "^1.1.1",
"@nextcloud/router": "^1.1.0",
"@nextcloud/vue": "^2.6.0",
- "@nextcloud/vue-dashboard": "^0.1.6",
+ "@nextcloud/vue-dashboard": "^0.1.8",
"blueimp-md5": "^2.17.0",
"dompurify": "^2.0.12",
"lodash": "^4.17.20",
diff --git a/src/views/Dashboard.vue b/src/views/Dashboard.vue
index 301ce52e5..25a10e3d7 100644
--- a/src/views/Dashboard.vue
+++ b/src/views/Dashboard.vue
@@ -21,27 +21,41 @@
-->
-
+ {}"
+ @markDone="() => {}">
+
+
+
+
+ -
+ {{ label.title }}
+
+
+
+
+
+
+ {{ t('deck', 'No upcoming cards') }}
+
+
+
@@ -82,8 +113,8 @@ export default {
.card {
display: block;
border-radius: var(--border-radius-large);
- margin-bottom: 8px;
- padding: 5px;
+ padding: 8px;
+ height: 60px;
&:hover {
background-color: var(--color-background-hover);
@@ -92,10 +123,11 @@ export default {
.card--header {
overflow: hidden;
- margin-bottom: 5px;
- span {
- display: inline-block;
- padding: 5px;
+ .title {
+ overflow: hidden;
+ text-overflow: ellipsis;
+ white-space: nowrap;
+ display: block;
}
}
@@ -105,7 +137,9 @@ export default {
.duedate::v-deep {
.due {
- margin: 0;
+ margin: 0 0 0 10px;
+ padding: 2px 4px;
+ font-size: 90%;
}
}