Zulip server and web application. Open-source team chat that helps teams stay productive and focused.
rendered_markdown: Correct presentation of nested lists.
Karl Stolley74b0d8ff6143
diff --git a/web/styles/rendered_markdown.css b/web/styles/rendered_markdown.cssindex 95323a43522..0205051caf3 100644--- a/web/styles/rendered_markdown.css+++ b/web/styles/rendered_markdown.css@@ -39,14 +39,14 @@}}- li {+ & > li {/* This aligns bullets to roughly thecenter of a single-digit counter.11.2px at 16px/1em */padding-inline-start: 0.7em;}- & li::marker {+ & > li::marker {/* This is an eyeballed value, but it makes theotherwise diminutive markers specified aboveboth larger *and* better vertically centered. */@@ -71,13 +71,13 @@same here to offset the counters. */padding-inline-start: 2.1ch;- & li {+ & > li {counter-increment: count 1;/* 3.2px at 16px/1em */padding-inline-start: 0.2em;}- & li::marker {+ & > li::marker {content: counter(count, decimal) ". ";}}