mirror of
https://github.com/FH-Complete/FHC-Core.git
synced 2026-07-20 00:12:15 +00:00
quick fix for overlapping dashboard elements on mobile phones
This commit is contained in:
@@ -19,7 +19,7 @@
|
||||
}
|
||||
@media(max-width: 577px) {
|
||||
:root {
|
||||
--fhc-dashboard-grid-size: 2;
|
||||
--fhc-dashboard-grid-size: 1;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -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})};
|
||||
});
|
||||
}
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user