From a0f7137739a043666e76cb287380ed8eeead47c2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=A9=B9=E8=81=AA=E8=81=AA?= <1227753320@qq.com> Date: Thu, 25 Jul 2024 17:21:41 +0800 Subject: [PATCH] lines problem occurs while position is absolute. Changing it to inherit will fix the problem. --- src/ui/css/diff2html.css | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ui/css/diff2html.css b/src/ui/css/diff2html.css index f133b01..76cadba 100644 --- a/src/ui/css/diff2html.css +++ b/src/ui/css/diff2html.css @@ -291,7 +291,7 @@ .d2h-code-side-linenumber { /* Keep the numbers fixed on line contents scroll */ - position: absolute; + position: inherit; display: inline-block; box-sizing: border-box; width: 4em;