Flickering (since v2.1.45)

I’ve found the culprit. Sorry that I didn’t think of it earlier. The first line of my Styling box is

@import url("_anki.css");

As soon as I remove the CSS file in question from collection.media, everything’s super smooth. Ditto, if I paste the entirety of my CSS file into the Styling box.

Another possibility would be to start one’s templates with

<link rel="stylesheet" type="text/css" href="_anki.css" />

Regrettably the unhealthy flickering re-occurs – even if the CSS file numbers only a few lines.

It’s really strange. I never had any problem with linking to an external CSS file up to and including 2.1.44. I know that this was never officially supported, but let me ask you nonetheless – do you think there’s a chance that linking to an external CSS will again work in the future? or should I just go ahead and copy everything into the Styling box of my 30 note types?

Is there some other way to determine the look of my cards in a central way?

1 Like