Skip to content

Update alerts.md #1019

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

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions content/components/alerts.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ Use the following examples of alert components to show messages as feedback to y

{{< example id="default-alert-example" github="components/alerts.md" show_dark=true >}}
<div class="p-4 mb-4 text-sm text-blue-800 rounded-lg bg-blue-50 dark:bg-gray-800 dark:text-blue-400" role="alert">
<span class="font-medium">Info alert!</span> Change a few things up and try submitting again.
<span class="font-medium">Info alert!</span> Change a few things up and try submitting otra vez.
</div>
<div class="p-4 mb-4 text-sm text-red-800 rounded-lg bg-red-50 dark:bg-gray-800 dark:text-red-400" role="alert">
<span class="font-medium">Danger alert!</span> Change a few things up and try submitting again.
Expand Down Expand Up @@ -765,4 +765,4 @@ const dismiss: DismissInterface = new Dismiss($targetEl, $triggerEl, options, in

// programmatically hide it
dismiss.hide();
```
```