From a0da3a0f428c7ccfde33e9a5c2942ddca2ab68d4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Julien=20D=C3=A9ramond?= Date: Mon, 30 Aug 2021 15:00:16 +0200 Subject: [PATCH] Enhance Alerts > Live Example section (#34769) --- site/content/docs/5.1/components/alerts.md | 14 ++------------ 1 file changed, 2 insertions(+), 12 deletions(-) diff --git a/site/content/docs/5.1/components/alerts.md b/site/content/docs/5.1/components/alerts.md index 1df07983e0..0d009d0a0d 100644 --- a/site/content/docs/5.1/components/alerts.md +++ b/site/content/docs/5.1/components/alerts.md @@ -27,20 +27,10 @@ Alerts are available for any length of text, as well as an optional close button Click the button below to show an alert (hidden with inline styles to start), then dismiss (and destroy) it with the built-in close button. +{{< example >}}
- -
- -
- -```html - - -``` +{{< /example >}} We use the following JavaScript to trigger our live alert demo: