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
8686 opacity : 0.001 ;
8787}
8888
89- .bn-editor .collaboration-cursor__base {
89+ .bn-editor .bn- collaboration-cursor__base {
9090 position : relative;
9191}
9292
93- .bn-editor .collaboration-cursor__base .collaboration-cursor__caret {
93+ .bn-editor .bn- collaboration-cursor__base .bn- collaboration-cursor__caret {
9494 position : absolute;
9595 width : 2px ;
9696 top : 1px ;
9797 bottom : -2px ;
9898 left : -1px ;
9999}
100100
101- .bn-editor .collaboration-cursor__base .collaboration-cursor__label {
101+ .bn-editor .bn- collaboration-cursor__base .bn- collaboration-cursor__label {
102102 pointer-events : none;
103103 border-radius : 0 1.5px 1.5px 0 ;
104104 font-size : 12px ;
@@ -120,8 +120,8 @@ Tippy popups that are appended to document.body directly
120120}
121121
122122.bn-editor
123- .collaboration-cursor__base [data-active ]
124- .collaboration-cursor__label {
123+ .bn- collaboration-cursor__base [data-active ]
124+ .bn- collaboration-cursor__label {
125125 color : # 0d0d0d ;
126126 max-height : 1.1rem ;
127127 max-width : 20rem ;
Original file line number Diff line number Diff line change @@ -65,16 +65,16 @@ export const createCollaborationExtensions = (collaboration: {
6565 const renderCursor = ( user : { name : string ; color : string } ) => {
6666 const cursorElement = document . createElement ( "span" ) ;
6767
68- cursorElement . classList . add ( "collaboration-cursor__base" ) ;
68+ cursorElement . classList . add ( "bn- collaboration-cursor__base" ) ;
6969
7070 const caretElement = document . createElement ( "span" ) ;
7171 caretElement . setAttribute ( "contentedEditable" , "false" ) ;
72- caretElement . classList . add ( "collaboration-cursor__caret" ) ;
72+ caretElement . classList . add ( "bn- collaboration-cursor__caret" ) ;
7373 caretElement . setAttribute ( "style" , `background-color: ${ user . color } ` ) ;
7474
7575 const labelElement = document . createElement ( "span" ) ;
7676
77- labelElement . classList . add ( "collaboration-cursor__label" ) ;
77+ labelElement . classList . add ( "bn- collaboration-cursor__label" ) ;
7878 labelElement . setAttribute ( "style" , `background-color: ${ user . color } ` ) ;
7979 labelElement . insertBefore ( document . createTextNode ( user . name ) , null ) ;
8080
You can’t perform that action at this time.
0 commit comments