limit images to window width

This commit is contained in:
Damien Elmes 2011-12-07 23:48:58 +09:00
parent a8b90ca6b0
commit 58433be7b4

View file

@ -214,6 +214,7 @@ function _typeAnsPress() {
hr { background-color:#ccc; margin: 1em; }
body { margin:1.5em; }
.cloze { font-weight: bold; color: blue; }
img { max-width: 95%; max-height: 95%; }
"""
def _styles(self):