Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/picturepan2/spectre.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'docs/src/components/toasts.pug')
-rw-r--r--docs/src/components/toasts.pug15
1 files changed, 10 insertions, 5 deletions
diff --git a/docs/src/components/toasts.pug b/docs/src/components/toasts.pug
index d1d9bb9..718300b 100644
--- a/docs/src/components/toasts.pug
+++ b/docs/src/components/toasts.pug
@@ -17,11 +17,13 @@ block docs-content
.toast
button.btn.btn-clear.float-right
h6 Toast Title
- | Lorem ipsum dolor sit amet, consectetur adipiscing elit.
+ p
+ | Lorem ipsum dolor sit amet, consectetur adipiscing elit.
.column.col-9.col-sm-12
.toast.toast-primary
button.btn.btn-clear.float-right
- | Lorem ipsum dolor sit amet, consectetur adipiscing elit.
+ p
+ | Lorem ipsum dolor sit amet, consectetur adipiscing elit.
p
| Add a container element with the #[code toast] class.
@@ -39,15 +41,18 @@ block docs-content
.column.col-sm-12
.toast.toast-success
button.btn.btn-clear.float-right
- | Toast success
+ p
+ | Toast success
.column.col-sm-12
.toast.toast-warning
button.btn.btn-clear.float-right
- | Toast warning
+ p
+ | Toast warning
.column.col-sm-12
.toast.toast-error
button.btn.btn-clear.float-right
- | Toast error
+ p
+ | Toast error
p
| And you can add the #[code toast-primary], #[code toast-success], #[code toast-warning] or #[code toast-error] class for additional toast colors.