Merge pull request #1278 from hikaru-y/fix-dupe-bgcolor

Prevent #dupe bgcolor from being carried over when copying text
This commit is contained in:
Damien Elmes 2021-07-05 11:10:18 +10:00 committed by GitHub
commit 2de987007f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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));
}
}