-
-
Notifications
You must be signed in to change notification settings - Fork 571
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add guideline to last step of the
<Steps>
component (#2051)
Co-authored-by: Chris Swithinbank <357379+delucis@users.noreply.github.com> Co-authored-by: Chris Swithinbank <swithinbank@gmail.com>
- Loading branch information
1 parent
017c246
commit ec3b579
Showing
2 changed files
with
15 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
--- | ||
'@astrojs/starlight': minor | ||
--- | ||
|
||
Adds a guideline to the last step of the `<Steps>` component. | ||
|
||
If you want to preserve the previous behaviour and hide the guideline on final steps, you can add the following custom CSS to your site: | ||
|
||
```css | ||
/* Hide the guideline for the final step in <Steps> lists. */ | ||
.sl-steps > li:last-of-type::after { | ||
background: transparent; | ||
} | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters