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:
parent
7c5031ab28
commit
46708f536d
@ -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));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user