krassowski / Anki-Night-Mode

Enabling studying at night with Anki - without eye strain
https://ankiweb.net/shared/info/1496166067
GNU General Public License v3.0
72 stars 13 forks source link

Overlapping text when elements have id=answer #87

Open aplaice opened 5 years ago

aplaice commented 5 years ago

Firstly, thanks for a really nice add-on!

Problem description

If an element's id is answer, then it may often overlap with other elements. For instance, if you (temporarily) change the front template of a basic card to:

<div id=answer>{{Front}}</div>
<div>overlapping text</div>

then you'll get something like:

screenshot_2019-11-09_00:37:03

(For this card the Front field was foo.)

The issue was, AFAICT first reported here, in the context of the interplay between Night Mode and the "Ultimate Geography" deck.

Checklist

Please put x inside brackets if following sentences apply to you:

Information about your Anki Setup

Version 2.1.15 (442df9d6)
Qt 5.12.3 PyQt 5.13.0
Night Mode 2.2.4
OS: Ubuntu 16.04