mirror of
https://github.com/ankitects/anki.git
synced 2025-09-24 08:46:37 -04:00
don't force typing preview size
This commit is contained in:
parent
82b50f366d
commit
e138e44397
1 changed files with 2 additions and 3 deletions
|
@ -222,11 +222,10 @@ Please create a new card type first."""))
|
|||
|
||||
def maybeTextInput(self, txt, type='q'):
|
||||
if type == 'q':
|
||||
repl = "<center><input type=text size=30 value='%s'></center>" % _(
|
||||
"(text is typed in here)")
|
||||
repl = "<center><input type=text value=''></center>"
|
||||
else:
|
||||
repl = _("(typing comparison appears here)")
|
||||
repl = "<center><font size=2>%s</font></center>" % repl
|
||||
repl = "<center>%s</center>" % repl
|
||||
return re.sub("\[\[type:.+?\]\]", repl, txt)
|
||||
|
||||
# Card operations
|
||||
|
|
Loading…
Reference in a new issue