mirror of
https://github.com/outline/outline.git
synced 2026-11-30 00:50:41 +03:00
fix: Mentions matching find and replace not correctly highlighted
This commit is contained in:
1 parent
0432144d1e
commit
205ca03ced
1 file changed
+5
-3
@@ -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;
|
||||
|
||||
Reference in new issue
Block a user