mirror of
https://github.com/ankitects/anki.git
synced 2025-09-18 22:12:21 -04:00
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:
commit
2de987007f
1 changed files with 3 additions and 1 deletions
|
@ -19,7 +19,9 @@
|
||||||
background: var(--frame-bg);
|
background: var(--frame-bg);
|
||||||
|
|
||||||
&.dupe {
|
&.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));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue