diff --git a/src/main.rs b/src/main.rs index 73856f1..676465a 100644 --- a/src/main.rs +++ b/src/main.rs @@ -21,9 +21,11 @@ fn print_content(content: Content) -> String { ret.push_str(""); } Content::Multi(l) => { + ret.push_str("
"); for item in l { ret.push_str(&print_content(item)); } + ret.push_str("
"); } } diff --git a/templates/style.css b/templates/style.css index 4858b14..810d19b 100644 --- a/templates/style.css +++ b/templates/style.css @@ -95,21 +95,21 @@ details summary { line-height: unset; } -ul { +.par > ul { margin: var(--pico-spacing) 0; padding: 0; } -ul > li { +.par > ul > li { list-style: none; margin: 1rem 0; } -ul > ul { +ul { padding: 0 2rem; } -ul > ul > li { +li { list-style: square; }