Skip to content

Commit 16303c6

Browse files
committed
change drag style and fix note editor
1 parent ed7cfae commit 16303c6

File tree

2 files changed

+13
-2
lines changed

2 files changed

+13
-2
lines changed

Desktop/html/css/jasp.css

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -650,3 +650,12 @@ iframe.ql-video {
650650
transform: translateX(0);
651651
}
652652
}
653+
654+
#results
655+
.ui-state-highlight,
656+
.ui-widget-content .ui-state-highlight,
657+
.ui-widget-header .ui-state-highlight {
658+
border: 1px solid #97C4F2;
659+
background: #DCF1FB;
660+
color: #97C4F2;
661+
}

Desktop/html/js/analysis.js

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -665,13 +665,15 @@ JASPWidgets.AnalysisView = JASPWidgets.View.extend({
665665

666666
this.$el.sortable({
667667
items: "> .jasp-display-item",
668-
handle: ".jasp-display-item",
668+
handle: ".jasp-toolbar, .object-body",
669+
cancel: ".ql-container, .ql-editor, .ql-toolbar, .jasp-notes",
669670
revert: true,
670671
tolerance: "pointer",
671672
cursor: "move",
673+
forceHelperSize: true,
674+
forcePlaceholderSize: true,
672675
placeholder: "ui-state-highlight"
673676
})
674-
.disableSelection();
675677

676678
return this;
677679
},

0 commit comments

Comments
 (0)