Skip to content

Commit

Permalink
fb2.css: empty paragraphs should have some line height (#547)
Browse files Browse the repository at this point in the history
In FB2, an empty P should not collapse (as they do in HTML)
and should behave as an empty line, taking some line height.
  • Loading branch information
dmalinovsky authored Nov 28, 2023
1 parent 55fa104 commit f6abee6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cr3gui/data/fb2.css
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
body { text-align: left; margin: 0; text-indent: 0px; page-break-after: always; }

p { text-align: justify; text-indent: 1.2em; margin-top: 0em; margin-bottom: 0em }
p { text-align: justify; text-indent: 1.2em; margin-top: 0em; margin-bottom: 0em; min-height: 1em; }

empty-line { height: 1em }

Expand Down

0 comments on commit f6abee6

Please sign in to comment.