Fix clipping issue with books

This commit is contained in:
Niles Rogoff 2017-02-15 00:01:36 -05:00
parent a7dc1b9713
commit 9595a02487
No known key found for this signature in database
GPG Key ID: B78B908F23430F80
1 changed files with 1 additions and 1 deletions

View File

@ -157,7 +157,7 @@ def rhtml(f, z):
href = "style='display: none;'"
result.append(''.join(["<a class='"+z+"' id='",z,f[1],"' ",href," onclick='collapse(\""+z+"\"); key({keyCode:"+str(ord(f[1].upper()))+"})'>", f[0], "</a>"]))
if type(f[2]) != str:
result.append("<span style='position: absolute; left: 200px; top: 0px;'>")
result.append("<span style='position: absolute; left: 200px; top: 0px; width: 100%;'>")
if type(f[2]) == list:
for l in f[2]:
result.append(rhtml(l, z + f[1]))