From 035592c9a516471a83646742612ce1549fcabf59 Mon Sep 17 00:00:00 2001 From: Jonas Smedegaard Date: Sun, 21 Jun 2020 16:00:11 +0200 Subject: cgit: fix limit line-number styling to plaintext highlighted content (not rendered markdown) --- cgit/web/local.scss | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cgit/web/local.scss b/cgit/web/local.scss index 776ffac..23879eb 100644 --- a/cgit/web/local.scss +++ b/cgit/web/local.scss @@ -2,12 +2,12 @@ @import 'cgit'; -div#cgit table.blob ol { +code > ol.hl { padding: 0; margin: 0; } -div#cgit table.blob li { +code > ol.hl > li.hl { height: 0; &::before { border-left: 1px solid grey; -- cgit v1.2.3