Skip to content

Commit eb8bbca

Browse files
authored
Update default styling for labels (#415)
Set `user-select` to none to avoid blinking cursors and/or other indication for text selection when clicking on labels. (Default document text selection of svg text elements is not working anyways)
1 parent dc2018c commit eb8bbca

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

examples/workflow-glsp/css/diagram.css

+1
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,7 @@
3636
font-weight: inherit;
3737
text-align: inherit;
3838
font-size: 100%;
39+
user-select: none;
3940
}
4041

4142
.sprotty-label.heading {

0 commit comments

Comments
 (0)