From 3d5020a5d87e3ea799f753d920a033221b2b4daa Mon Sep 17 00:00:00 2001 From: Christian Hesse Date: Tue, 31 Mar 2020 14:53:42 +0200 Subject: fix(3p/cgit): md2html: use proper formatting for hr This addressed a non-existent background image and made the element invisible. Drop the style and use something sane. Signed-off-by: Christian Hesse Change-Id: I4f94466742008b9cdb231358199074de6e4424ee --- third_party/cgit/filters/html-converters/md2html | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) (limited to 'third_party/cgit') diff --git a/third_party/cgit/filters/html-converters/md2html b/third_party/cgit/filters/html-converters/md2html index f505cb2354..59f43a8416 100755 --- a/third_party/cgit/filters/html-converters/md2html +++ b/third_party/cgit/filters/html-converters/md2html @@ -86,11 +86,7 @@ div#cgit .markdown-body h1 a.toclink, div#cgit .markdown-body h2 a.toclink, div# margin: 15px 0; } .markdown-body hr { - background: transparent url("/dirty-shade.png") repeat-x 0 0; - border: 0 none; - color: #ccc; - height: 4px; - padding: 0; + border: 2px solid #ccc; } .markdown-body>h2:first-child, .markdown-body>h1:first-child, .markdown-body>h1:first-child+h2, .markdown-body>h3:first-child, .markdown-body>h4:first-child, .markdown-body>h5:first-child, .markdown-body>h6:first-child { margin-top: 0; -- cgit 1.4.1