fix: Finicky selection around headings in FF

This commit is contained in:
Tom Moor
2023-12-16 12:56:21 -05:00
parent 87d288cdfc
commit 00ecf84dbd

View File

@@ -716,6 +716,7 @@ h6:not(.placeholder):before {
.heading-actions { .heading-actions {
opacity: 0; opacity: 0;
user-select: none;
background: ${props.theme.background}; background: ${props.theme.background};
margin-${props.rtl ? "right" : "left"}: -26px; margin-${props.rtl ? "right" : "left"}: -26px;
flex-direction: ${props.rtl ? "row-reverse" : "row"}; flex-direction: ${props.rtl ? "row-reverse" : "row"};
@@ -1494,6 +1495,7 @@ table {
.folded-content, .folded-content,
.folded-content + .mermaid-diagram-wrapper { .folded-content + .mermaid-diagram-wrapper {
display: none; display: none;
user-select: none;
} }
@keyframes ProseMirror-cursor-blink { @keyframes ProseMirror-cursor-blink {