diff --git a/public/js/components/Dashboard/Item.js b/public/js/components/Dashboard/Item.js
index 8b26e92eb..06900a766 100644
--- a/public/js/components/Dashboard/Item.js
+++ b/public/js/components/Dashboard/Item.js
@@ -96,6 +96,20 @@ export default {
isResizeable() {
return this.isResizeableVertical || this.isResizeableHorizontal;
},
+ resizeClasses() {
+ const classes = {
+ icon: 'fa-up-right-and-down-left-from-center mirror-x',
+ button: 'cursor-nw-resize'
+ };
+ if (!this.isResizeableHorizontal) {
+ classes.icon = 'fa-up-down pe-2';
+ classes.button = 'cursor-ns-resize';
+ } else if (!this.isResizeableVertical) {
+ classes.icon = 'fa-left-right pe-2';
+ classes.button = 'cursor-ew-resize';
+ }
+ return classes;
+ },
isPinned() {
return this.place?.pinned ? true : false;
},
@@ -349,44 +363,17 @@ export default {
class="card-footer d-flex justify-content-end p-0"
>
-
-
-
-
-
-