8000 Fix Firefox dnd highlighting bug (#611) · joernalraun/python-editor-next@3c9bb17 · GitHub
[go: up one dir, main page]

Skip to content

Commit 3c9bb17

Browse files
Fix Firefox dnd highlighting bug (microbit-foundation#611)
Default to transition: none on cm-line class to remove latent dnd highlighting. Closes microbit-foundation#537.
1 parent 587b105 commit 3c9bb17

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/editor/codemirror/themeExtensions.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -84,6 +84,9 @@ export const themeExtensions = (fontSize: string) => {
8484
".cm-widgetBuffer": {
8585
display: "inline",
8686
},
87+
".cm-line": {
88+
transition: "none",
89+
},
8790
});
8891
};
8992

0 commit comments

Comments
 (0)
0