mirror of
https://github.com/ankitects/anki.git
synced 2025-09-20 06:52:21 -04:00
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
1 changed files with 2 additions and 0 deletions
|
@ -19,6 +19,8 @@
|
|||
background: var(--frame-bg);
|
||||
|
||||
&.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));
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue