From 58433be7b4fe983ec839acc996783fa5251d210e Mon Sep 17 00:00:00 2001 From: Damien Elmes Date: Wed, 7 Dec 2011 23:48:58 +0900 Subject: [PATCH] limit images to window width --- aqt/reviewer.py | 1 + 1 file changed, 1 insertion(+) diff --git a/aqt/reviewer.py b/aqt/reviewer.py index 67cbc224c..90370beae 100644 --- a/aqt/reviewer.py +++ b/aqt/reviewer.py @@ -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):