mirror of
https://github.com/ankitects/anki.git
synced 2025-09-20 23:12:21 -04:00
fix gifs failing to load
specifying max-height on img elements wasn't working when the parent was an absolutely positioned element
This commit is contained in:
parent
d9b5d11312
commit
a56bddeb8d
1 changed files with 5 additions and 2 deletions
|
@ -119,8 +119,11 @@ class Reviewer:
|
|||
|
||||
_revHtml = """
|
||||
<img src="qrc:/icons/rating.png" id=star class=marked>
|
||||
<div id=qa><div class=qaelem id=_question></div><div class=qaelem id=_answer1>\
|
||||
</div><div class=qaelem id=_answer2></div></div>
|
||||
<div id=qa>\
|
||||
<div class=qaelem><div id=_question></div></div>\
|
||||
<div class=qaelem><div id=_answer1></div></div>\
|
||||
<div class=qaelem><div id=_answer2></div></div>\
|
||||
</div>
|
||||
"""
|
||||
|
||||
def _initWeb(self):
|
||||
|
|
Loading…
Reference in a new issue