Skip to content

Commit 142ea29

Browse files
authored
change drag style and fix note editor
1 parent c4b5da4 commit 142ea29

File tree

2 files changed

+14
-3
lines changed

2 files changed

+14
-3
lines changed

Desktop/html/css/jasp.css

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -654,4 +654,13 @@ iframe.ql-video {
654654
100% {
655655
transform: translateX(0);
656656
}
657-
}
657+
}
658+
659+
#results
660+
.ui-state-highlight,
661+
.ui-widget-content .ui-state-highlight,
662+
.ui-widget-header .ui-state-highlight {
663+
border: 1px solid #97C4F2;
664+
background: #DCF1FB;
665+
color: #97C4F2;
666+
}

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)