From f17d3f84e72e216a01f197878d4e2f96513300d5 Mon Sep 17 00:00:00 2001 From: hide_24 Date: Wed, 18 Feb 2026 14:11:46 +0900 Subject: [PATCH] Revert "Fix list rendering with heading syntax" --- website/static/css/pages/wiki-page.css | 25 +------------------------ 1 file changed, 1 insertion(+), 24 deletions(-) diff --git a/website/static/css/pages/wiki-page.css b/website/static/css/pages/wiki-page.css index 49658095dfa..6928bdc8d83 100644 --- a/website/static/css/pages/wiki-page.css +++ b/website/static/css/pages/wiki-page.css @@ -449,29 +449,6 @@ select.form-control { list-style-type: disc; } -.milkdown .editor ul li:has(>h1), -.milkdown .editor ul li:has(>h2), -.milkdown .editor ul li:has(>h3), -.milkdown .editor ul li:has(>h4), -.milkdown .editor ul li:has(>h5), -.milkdown .editor ul li:has(>h6) { - list-style-type: disc !important; -} - -/* Fallback: Add bullet point using ::before on li when it contains a heading */ -.milkdown .editor ul li:has(>h1)::before, -.milkdown .editor ul li:has(>h2)::before, -.milkdown .editor ul li:has(>h3)::before, -.milkdown .editor ul li:has(>h4)::before, -.milkdown .editor ul li:has(>h5)::before, -.milkdown .editor ul li:has(>h6)::before { - content: "•"; - display: inline-block; - width: 1em; - margin-left: -1em; - margin-right: 0.5em; -} - .milkdown .editor li[data-list-type="ordered"] { list-style-type: decimal; } @@ -555,4 +532,4 @@ li[name="WikiImportOperationPerItem"] { .milkdown td { border: 1px solid #ccc; padding: 8px; -} +} \ No newline at end of file