From ee8c47eb3b45a76ef2824c705cc6d56364cc15d8 Mon Sep 17 00:00:00 2001 From: vgwidt <49006240+vgwidt@users.noreply.github.com> Date: Sat, 1 Oct 2022 20:39:33 +0900 Subject: [PATCH] fix: remove strikethrough text background (#4202) * Update Styles.ts * Update Styles.ts Co-authored-by: Tom Moor --- shared/editor/components/Styles.ts | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/shared/editor/components/Styles.ts b/shared/editor/components/Styles.ts index 3d6f1adf0..27c693bc1 100644 --- a/shared/editor/components/Styles.ts +++ b/shared/editor/components/Styles.ts @@ -1279,13 +1279,16 @@ ins { } del { - background-color: ${props.theme.slateLight}; color: ${props.theme.slate}; text-decoration: strikethrough; } -del img { - opacity: .5; +del[data-operation-index] { + background-color: ${props.theme.slateLight}; + + img { + opacity: .5; + } } @media print {