about summary refs log tree commit diff
path: root/third_party
diff options
context:
space:
mode:
authorChristian Hesse <mail@eworm.de>2020-03-31T12·53+0200
committerVincent Ambo <mail@tazj.in>2021-09-21T11·14+0300
commit3d5020a5d87e3ea799f753d920a033221b2b4daa (patch)
treed3890210ec5e465280c0ae496a203a93627db416 /third_party
parentbf4cfeb477960db31f8bb105f4524635418142fd (diff)
fix(3p/cgit): md2html: use proper formatting for hr r/2900
This addressed a non-existent background image and made the element
invisible. Drop the style and use something sane.

Signed-off-by: Christian Hesse <mail@eworm.de>
Change-Id: I4f94466742008b9cdb231358199074de6e4424ee
Diffstat (limited to 'third_party')
-rwxr-xr-xthird_party/cgit/filters/html-converters/md2html6
1 files changed, 1 insertions, 5 deletions
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;