diff --git a/ts/editor/fields.scss b/ts/editor/fields.scss index 857a16ac1..756903187 100644 --- a/ts/editor/fields.scss +++ b/ts/editor/fields.scss @@ -19,7 +19,9 @@ background: var(--frame-bg); &.dupe { - background: var(--flag1-bg); + // this works around the background colour persisting in copy+paste + // (https://github.com/ankitects/anki/pull/1278) + background-image: linear-gradient(var(--flag1-bg), var(--flag1-bg)); } }