From 00217e8e6966d022a254c0a33506d08dfcd23539 Mon Sep 17 00:00:00 2001 From: thepaperpilot Date: Thu, 6 Jun 2024 00:00:23 -0500 Subject: [PATCH] Fix nested bullets --- site/.vitepress/theme/custom.css | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/site/.vitepress/theme/custom.css b/site/.vitepress/theme/custom.css index 9bf4f9ac..cffe0102 100644 --- a/site/.vitepress/theme/custom.css +++ b/site/.vitepress/theme/custom.css @@ -25,3 +25,17 @@ margin: auto; width: unset; } + +ul > li > ul { + position: relative; +} + +ul > li > ul::before { + position: absolute; + content: ""; + width: 2px; + height: 100%; + background: var(--vp-c-text-1); + opacity: 0.3; + left: -16px; +}