From e8dee69592349cde50ddf8a4440f87e91808e6b6 Mon Sep 17 00:00:00 2001 From: Yong He Date: Thu, 22 Apr 2021 16:15:32 -0700 Subject: Fix layout for user-guide (#1810) --- docs/_layouts/user-guide.html | 18 ++++++++---------- 1 file changed, 8 insertions(+), 10 deletions(-) (limited to 'docs/_layouts') diff --git a/docs/_layouts/user-guide.html b/docs/_layouts/user-guide.html index 26b87c6d5..ebd887789 100644 --- a/docs/_layouts/user-guide.html +++ b/docs/_layouts/user-guide.html @@ -32,27 +32,27 @@ } ol { - list-style: decimal; - list-style-position: inside; + counter-reset: section; + list-style-type: none; } - ol li { - list-style: decimal; - list-style-position: inside; + li:before { + counter-increment: section; + content: counters(section, ".") " "; } {% seo %} -
-
+
+
{% include user-guide-toc.html %}
-
+
{{ content }}
@@ -65,8 +65,6 @@
- -
-- cgit v1.2.3