1
0
mirror of https://github.com/ciromattia/kcc synced 2026-05-05 23:32:49 +00:00

fix thin horizontal line in landscape in certain situations (#1326)

This commit is contained in:
Alex Xu
2026-05-04 15:22:37 -07:00
committed by GitHub
parent f149ae23f3
commit 5a1e2dafcb

View File

@@ -144,7 +144,7 @@ def buildHTML(path, imgfile, imgfilepath, imgfile2=None):
f.write('<div style="display:none;">.</div>\n')
f.write(f'<img width="{imgsize[0]}" height="{imgsize[1]}" src="{"../" * backref}Images/{postfix}{imgfile}"/>\n')
if imgfile2:
f.write(f'<img style="bottom: 0" width="{imgsize2[0]}" height="{imgsize2[1]}" src="{"../" * backref}Images/{postfix}{imgfile2}"/>\n')
f.write(f'<img style="top: 1920px" width="{imgsize2[0]}" height="{imgsize2[1]}" src="{"../" * backref}Images/{postfix}{imgfile2}"/>\n')
f.write("</div>\n")
if options.iskindle and options.panelview:
if options.autoscale: