add comment about the use of linear-gradient

Otherwise one of us is likely to return to the code in a few years,
think it could be made simpler, and then break things again. :-)
This commit is contained in:
Damien Elmes 2021-07-05 11:09:22 +10:00
parent 7c5031ab28
commit 46708f536d

View File

@ -19,6 +19,8 @@
background: var(--frame-bg); background: var(--frame-bg);
&.dupe { &.dupe {
// 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)); background-image: linear-gradient(var(--flag1-bg), var(--flag1-bg));
} }
} }