From 771f354346e9362aced090bce468bb4d9e09d43a Mon Sep 17 00:00:00 2001 From: Tim Date: Sat, 10 May 2025 12:51:55 +0200 Subject: [PATCH] Improve compare styling --- src/Service/SnipContent/Lexer.php | 8 ++++++++ templates/content/compare.html.twig | 8 ++++++-- templates/version/index.html.twig | 2 +- 3 files changed, 15 insertions(+), 3 deletions(-) create mode 100644 src/Service/SnipContent/Lexer.php diff --git a/src/Service/SnipContent/Lexer.php b/src/Service/SnipContent/Lexer.php new file mode 100644 index 0000000..e0acbfe --- /dev/null +++ b/src/Service/SnipContent/Lexer.php @@ -0,0 +1,8 @@ + {{ line.type }} - {{ line.from }} - {{ line.to }} + + {{ line.from }} + + + {{ line.to }} + {% endfor %} diff --git a/templates/version/index.html.twig b/templates/version/index.html.twig index b01167a..4cc09c7 100644 --- a/templates/version/index.html.twig +++ b/templates/version/index.html.twig @@ -9,7 +9,7 @@ Latest - + Compare