From dfbe5dbfa8c26c8ee6f77a6c52f96a96263cf1a5 Mon Sep 17 00:00:00 2001 From: Damien Elmes Date: Sat, 21 Apr 2012 06:46:32 +0900 Subject: [PATCH] limit images in editor to the field size --- aqt/editor.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/aqt/editor.py b/aqt/editor.py index 9d146688d..ca4d803c9 100644 --- a/aqt/editor.py +++ b/aqt/editor.py @@ -38,7 +38,7 @@ _html = """ } .fname { font-size: 12px; vertical-align: middle; padding: 0; } #dupes { font-size: 12px; } -img { max-width: 150; max-height: 150; } +img { max-width: 100%%; max-height: 90%%; } body { margin: 5px; }