summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjaseg <git@jaseg.de>2025-07-27 16:52:26 +0200
committerjaseg <git@jaseg.de>2025-07-27 16:52:26 +0200
commit36c0d21a369ed470020e3f650c8d13cbfd1009d7 (patch)
tree356855013b4e5441c9128c8eea08f2f58f1b2c17
parent13afaa4e4f9abd8f25a874fde7acd8aab967b780 (diff)
downloadwsdiff-36c0d21a369ed470020e3f650c8d13cbfd1009d7.tar.gz
wsdiff-36c0d21a369ed470020e3f650c8d13cbfd1009d7.tar.bz2
wsdiff-36c0d21a369ed470020e3f650c8d13cbfd1009d7.zip
Make sure empty lines don't collapse in the output
-rw-r--r--src/wsdiff.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/wsdiff.py b/src/wsdiff.py
index f622f44..13574b3 100644
--- a/src/wsdiff.py
+++ b/src/wsdiff.py
@@ -151,6 +151,7 @@ MAIN_CSS = r'''
padding-left: calc(4em + 5px);
text-indent: -4em;
padding-top: 2px;
+ align-self: stretch; /* Make sure empty lines don't collapse */
}
/* Make individual syntax tokens wrap anywhere */