quick fix for overlapping dashboard elements on mobile phones

This commit is contained in:
Harald Bamberger
2024-06-03 10:27:03 +02:00
parent 5021c47c9f
commit 92319b9b29
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -19,7 +19,7 @@
}
@media(max-width: 577px) {
:root {
--fhc-dashboard-grid-size: 2;
--fhc-dashboard-grid-size: 1;
}
}
+1 -1
View File
@@ -32,7 +32,7 @@ export default {
computed: {
items() {
return this.widgets.map(item => {
return {...item, ...(item.place[this.gridWidth] || {})};
return {...item, ...(item.place[this.gridWidth] || {h: 1, w:1, x:0, y:0})};
});
}
},