mirror of
https://github.com/twbs/bootstrap.git
synced 2022-11-09 12:25:43 -05:00
Remove unneeded classes from toasts docs (#35931)
This commit is contained in:
parent
8d7358f231
commit
050b69b9a2
1 changed files with 3 additions and 3 deletions
|
@ -216,7 +216,7 @@ Place toasts with custom CSS as you need them. The top right is often used for n
|
|||
</div>
|
||||
</form>
|
||||
<div aria-live="polite" aria-atomic="true" class="bg-dark position-relative bd-example-toasts">
|
||||
<div class="toast-container position-absolute p-3" id="toastPlacement">
|
||||
<div class="toast-container p-3" id="toastPlacement">
|
||||
<div class="toast">
|
||||
<div class="toast-header">
|
||||
{{< placeholder width="20" height="20" background="#007aff" class="rounded me-2" text="false" title="false" >}}
|
||||
|
@ -237,9 +237,9 @@ For systems that generate more notifications, consider using a wrapping element
|
|||
<div aria-live="polite" aria-atomic="true" class="position-relative">
|
||||
<!-- Position it: -->
|
||||
<!-- - `.toast-container` for spacing between toasts -->
|
||||
<!-- - `.position-absolute`, `top-0` & `end-0` to position the toasts in the upper right corner -->
|
||||
<!-- - `top-0` & `end-0` to position the toasts in the upper right corner -->
|
||||
<!-- - `.p-3` to prevent the toasts from sticking to the edge of the container -->
|
||||
<div class="toast-container position-absolute top-0 end-0 p-3">
|
||||
<div class="toast-container top-0 end-0 p-3">
|
||||
|
||||
<!-- Then put toasts within -->
|
||||
<div class="toast" role="alert" aria-live="assertive" aria-atomic="true">
|
||||
|
|
Loading…
Reference in a new issue