mirror of
https://github.com/ankitects/anki.git
synced 2025-09-23 16:26:40 -04:00
make the tables even smaller to adjust for pre changes
This commit is contained in:
parent
d0f6c41bba
commit
666331bc6c
1 changed files with 3 additions and 3 deletions
|
@ -122,12 +122,12 @@ class View(object):
|
||||||
# Question and answer
|
# Question and answer
|
||||||
##########################################################################
|
##########################################################################
|
||||||
|
|
||||||
def center(self, str, height=45):
|
def center(self, str, height=40):
|
||||||
if not self.main.config['splitQA']:
|
if not self.main.config['splitQA']:
|
||||||
return str
|
return str
|
||||||
return '''
|
return '''
|
||||||
<div style="display: table; height: %s%%; width:100%%; overflow: hidden;">
|
<div style="display: table; height: %s%%; width:100%%; overflow: hidden;">\
|
||||||
<div style="display: table-cell; vertical-align: middle;">
|
<div style="display: table-cell; vertical-align: middle;">\
|
||||||
<div style="">%s</div></div></div>''' % (height, str)
|
<div style="">%s</div></div></div>''' % (height, str)
|
||||||
|
|
||||||
def drawQuestion(self, nosound=False):
|
def drawQuestion(self, nosound=False):
|
||||||
|
|
Loading…
Reference in a new issue