We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
<Steps>
1 parent c4ef620 commit 68c0c07Copy full SHA for 68c0c07
.changeset/cuddly-bugs-count.md
@@ -0,0 +1,5 @@
1
+---
2
+'@astrojs/starlight': patch
3
4
+
5
+Fixes a `<Steps>` component numbering issue with the next Chrome stable version when a step contains a nested list.
packages/starlight/user-components/Steps.astro
@@ -23,6 +23,8 @@ const { html } = processSteps(content);
23
padding-bottom: 1px;
24
/* Prevent bullets from touching in short list items. */
25
min-height: calc(var(--bullet-size) + var(--bullet-margin));
26
+ /* Enforce style containment so that nested lists CSS counters are scoped to the contained element. */
27
+ contain: style;
28
}
29
.sl-steps > li + li {
30
/* Remove margin between steps. */
0 commit comments