-
-
Notifications
You must be signed in to change notification settings - Fork 144
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix toast long messages and update toast styles
- Loading branch information
1 parent
a7afed4
commit f1a177a
Showing
3 changed files
with
25 additions
and
14 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,16 +1,10 @@ | ||
<div | ||
class="toast align-items-center text-white bg-{{type}} bg-gradient border-0 fw-bold p-1" | ||
role="alert" | ||
aria-live="assertive" | ||
aria-atomic="true" | ||
> | ||
<div class="d-flex"> | ||
<div class="toast-body">{{ message }}</div> | ||
<button | ||
type="button" | ||
class="btn-close btn-close-white me-2 m-auto" | ||
data-bs-dismiss="toast" | ||
aria-label="Close" | ||
></button> | ||
<div class="toast" role="alert" aria-live="assertive" aria-atomic="true"> | ||
<div class="toast-header"> | ||
<div class="rounded me-2 p-2 bg-{{type}}"></div> | ||
<strong class="me-auto">Brasil.io</strong> | ||
<button type="button" class="btn-close" data-bs-dismiss="toast" aria-label="Close"></button> | ||
</div> | ||
<div class="toast-body"> | ||
{{ message }} | ||
</div> | ||
</div> |