On 2.1.49 I started to see this shadow that is different from night mode background.
It is visible even without my styling - look at the shadow around
arrow ↓
What css value can I use to make it match the background?
On 2.1.49 I started to see this shadow that is different from night mode background.
It is visible even without my styling - look at the shadow around
arrow ↓
What css value can I use to make it match the background?
You can remove the background like this:
#typeans {
background-color: transparent;
}
But actually, that’s an issue that should be solved on Anki’s side within reviewer.scss
. The card body has var(--window-bg)
as background color, but #typeans
has var(--frame-bg)
:
The fact that the background-color is only defined for night mode makes me think it is intentional, though.
Like this worked for me.
.night-mode #typeans {
background-color: transparent;
}
Thank you very much.