I am using Dark Mode on both Anki and AnkiDroid so I checked Use CSS Class and copied the default CSS style from the documentation. Everything renders perfectly on Anki but line numbers are misaligned when I review my cards on AnkiDroid. I'll leave screenshots below.
[ ] I've tried to disable other add-ons to see if there are any interactions present
[ ] My issue disappears when I hold shift while starting Anki.
[x] I've checked if anyone else reported this problem before by looking through the issue reports. I also checked to see if there is a section about known issues in the add-on description, documentation, or README.
Information about your Anki set-up
Anki 2.1.26 (arch-linux-2.1.26-1) Python 3.8.6 Qt 5.15.1 PyQt 5.15.1
Platform: Linux
Flags: frz=False ao=True sv=1
Add-ons, last update check: 2020-10-21 23:53:32
===Add-ons (active)===
(add-on provided name [Add-on folder, installed at, version, is config changed])
'' ['ankisyncd', 0, 'None', '']
CrowdAnki JSON exportimport Edit history Collaborate on deck creation ['1788670778', 2020-07-06T01:26, 'None', '']
Hierarchical Tags 2 ['594329229', 2020-04-15T08:37, 'None', '']
ImageResizer ['1214357311', 2020-04-10T15:29, 'None', '']
Review Heatmap ['review_heatmap', 2020-04-30T15:23, 'None', '']
Syntax Highlighting for Code ['1463041493', 2018-10-07T03:31, 'None', mod]
===IDs of active AnkiWeb add-ons===
1214357311 1463041493 1788670778 594329229
===Add-ons (inactive)===
(add-on provided name [Add-on folder, installed at, version, is config changed])
Problem description
I am using Dark Mode on both Anki and AnkiDroid so I checked
Use CSS Class
and copied the default CSS style from the documentation. Everything renders perfectly on Anki but line numbers are misaligned when I review my cards on AnkiDroid. I'll leave screenshots below.On Anki :
And on AnkiDroid :
Here is the HTML of the field :
Checklist
Information about your Anki set-up