diff --git a/compare50/_renderer/static/match.css b/compare50/_renderer/static/match.css index a3d09f8..5c53b6a 100644 --- a/compare50/_renderer/static/match.css +++ b/compare50/_renderer/static/match.css @@ -58,6 +58,7 @@ pre { max-width:100%; width: 100%; height: 90vh; + counter-reset: line_numbers; } .right { @@ -69,6 +70,7 @@ pre { max-width:100%; width: 100%; height: 90vh; + counter-reset: line_numbers; } .fragment:before { diff --git a/compare50/_renderer/templates/match.html b/compare50/_renderer/templates/match.html index c712175..ebc53a6 100644 --- a/compare50/_renderer/templates/match.html +++ b/compare50/_renderer/templates/match.html @@ -2,7 +2,9 @@
{%- set ns = namespace(is_newline=true) -%}
{%- for frag in file.fragments -%}