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

@XhmikosR XhmikosR added this to In progress in v5.1.1 via automation Aug 19, 2021
@XhmikosR XhmikosR requested a review from mdo August 19, 2021 05:18
@GeoSot GeoSot moved this from In progress to Review in progress in v5.1.1 Aug 30, 2021
@GeoSot GeoSot self-requested a review August 30, 2021 12:47
v5.1.1 automation moved this from Review in progress to Reviewer approved Aug 30, 2021
@XhmikosR XhmikosR merged commit a0da3a0 into twbs:main Aug 30, 2021
v5.1.1 automation moved this from Reviewer approved to Done 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
No open projects
v5.1.1
  
Done
Development

Successfully merging this pull request may close these issues.

None yet

4 participants