1
0
mirror of https://github.com/ciromattia/kcc synced 2025-12-13 01:36:27 +00:00

display-block (#986)

This commit is contained in:
Alex Xu
2025-06-20 17:28:42 -07:00
committed by GitHub
parent 221f964f14
commit 32020d6b07

View File

@@ -448,10 +448,13 @@ def buildEPUB(path, chapternames, tomenumber, ischunked, cover: image.Cover, len
"margin: 0;\n",
"padding: 0;\n",
"}\n",
"img {\n",
"display: block;\n",
"}\n",
])
if options.kindle_scribe_azw3:
f.writelines([
"img {\n",
"display: block;\n",
"}\n",
])
if options.iskindle and options.panelview:
f.writelines(["#PV {\n",
"position: absolute;\n",