Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enhance Alerts > Live Example section #34769

Merged
merged 4 commits into from
Aug 30, 2021

Conversation

julien-deramond
Copy link
Member

@julien-deramond julien-deramond commented Aug 18, 2021

This PR is a proposal to enhance the Alerts > Live Example section.

I think it would be maybe easier to understand with the following modifications:

  • Have the <div id="liveAlertPlaceholder"></div> within the .bd-example to display the alerts in the example and not outside the frame
  • Show in the HTML code the #liveAlertPlaceholder div
  • Remove the .alertdiv which is in fact unused

The developers could more easily copy/paste the example like this -> https://codepen.io/julien-deramond/pen/KKmjZQj

Preview: https://deploy-preview-34769--twbs-bootstrap.netlify.app/docs/5.1/components/alerts/#live-example

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
@XhmikosR XhmikosR merged commit a0da3a0 into twbs:main Aug 30, 2021
@XhmikosR XhmikosR added v5 and removed js labels Aug 30, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants