fix: Mentions matching find and replace not correctly highlighted

This commit is contained in:
Tom Moor committed 2025-02-11 23:28:19 -05:00
1 parent 0432144d1e
commit 205ca03ced
1 file changed
+5 -3
+5 -3
View File
@@ -251,10 +251,13 @@ const codeBlockStyle = (props: Props) => css`
`;
const findAndReplaceStyle = () => css`
.find-result {
.find-result:not(:has(.mention)),
.find-result .mention {
background: rgba(255, 213, 0, 0.25);
}
&.current-result {
.find-result.current-result:not(:has(.mention)),
.find-result.current-result .mention {
background: rgba(255, 213, 0, 0.75);
animation: ${pulse} 150ms 1;
}
@@ -615,7 +618,6 @@ iframe.embed {
}
.column-resize-handle {
animation: ${fadeIn} 150ms ease-in-out;
${props.readOnly ? "display: none;" : ""}
position: absolute;
right: -1px;