File tree Expand file tree Collapse file tree 2 files changed +8
-8
lines changed Expand file tree Collapse file tree 2 files changed +8
-8
lines changed Original file line number Diff line number Diff line change @@ -86,19 +86,19 @@ Tippy popups that are appended to document.body directly
86
86
opacity : 0.001 ;
87
87
}
88
88
89
- .bn-editor .collaboration-cursor__base {
89
+ .bn-editor .bn- collaboration-cursor__base {
90
90
position : relative;
91
91
}
92
92
93
- .bn-editor .collaboration-cursor__base .collaboration-cursor__caret {
93
+ .bn-editor .bn- collaboration-cursor__base .bn- collaboration-cursor__caret {
94
94
position : absolute;
95
95
width : 2px ;
96
96
top : 1px ;
97
97
bottom : -2px ;
98
98
left : -1px ;
99
99
}
100
100
101
- .bn-editor .collaboration-cursor__base .collaboration-cursor__label {
101
+ .bn-editor .bn- collaboration-cursor__base .bn- collaboration-cursor__label {
102
102
pointer-events : none;
103
103
border-radius : 0 1.5px 1.5px 0 ;
104
104
font-size : 12px ;
@@ -120,8 +120,8 @@ Tippy popups that are appended to document.body directly
120
120
}
121
121
122
122
.bn-editor
123
- .collaboration-cursor__base [data-active ]
124
- .collaboration-cursor__label {
123
+ .bn- collaboration-cursor__base [data-active ]
124
+ .bn- collaboration-cursor__label {
125
125
color : # 0d0d0d ;
126
126
max-height : 1.1rem ;
127
127
max-width : 20rem ;
Original file line number Diff line number Diff line change @@ -65,16 +65,16 @@ export const createCollaborationExtensions = (collaboration: {
65
65
const renderCursor = ( user : { name : string ; color : string } ) => {
66
66
const cursorElement = document . createElement ( "span" ) ;
67
67
68
- cursorElement . classList . add ( "collaboration-cursor__base" ) ;
68
+ cursorElement . classList . add ( "bn- collaboration-cursor__base" ) ;
69
69
70
70
const caretElement = document . createElement ( "span" ) ;
71
71
caretElement . setAttribute ( "contentedEditable" , "false" ) ;
72
- caretElement . classList . add ( "collaboration-cursor__caret" ) ;
72
+ caretElement . classList . add ( "bn- collaboration-cursor__caret" ) ;
73
73
caretElement . setAttribute ( "style" , `background-color: ${ user . color } ` ) ;
74
74
75
75
const labelElement = document . createElement ( "span" ) ;
76
76
77
- labelElement . classList . add ( "collaboration-cursor__label" ) ;
77
+ labelElement . classList . add ( "bn- collaboration-cursor__label" ) ;
78
78
labelElement . setAttribute ( "style" , `background-color: ${ user . color } ` ) ;
79
79
labelElement . insertBefore ( document . createTextNode ( user . name ) , null ) ;
80
80
You can’t perform that action at this time.
0 commit comments