[WIP] Hide or fix StackBlitz examples #36091
Closed
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Description
Initially in #36088, this PR proposes to hide or fix examples that doesn't work with StackBlitz.
This PR adds a new parameter
{{< example show_edit_btn="false" >}}
to hide the StackBlitz edit button for examples that cannot work easily: need extra HTML or JS code; for example the alert's live example.Types of changes
Checklist
npm run lint
)Related PR
#36088
Live previews
display: none
of.dropdown-menu
.display: none
of.dropdown-menu
.display: none
of.dropdown-menu
.display: none
of.dropdown-menu
.display: none
of.dropdown-menu
.display: none
of.dropdown-menu
.display: none
of.dropdown-menu
..bd-example-ratios .ratio
.bd-example-row-flex-cols .row
rules.bd-example-cssgrid .grid > *
.bd-example-row .row > .col, .bd-example-row .row > [class^="col-"]
.bd-example-row .row > .col, .bd-example-row .row > [class^="col-"]
.bd-example-border-utils [class^="border"]
specific rule.bd-example
specific rule.bd-example-position-utils .position-absolute
specific rule.bd-highlight
coming from the docs CSS