3
0

Align text message in inc_toasts.html

This commit is contained in:
Katrin Yordanova
2022-12-30 13:08:06 +02:00
parent 64c69c4ac1
commit 9f25111b1c

View File

@@ -1,7 +1,7 @@
<div class="position-fixed bottom-0 right-0 p-3 mb-2" style="z-index: 5; right: 0; bottom: 0;">
{{ range . }}
<div class="toast align-items-center bg-dark text-white" role="alert" aria-live="polite" aria-atomic="true" data-delay="5000" style="min-width:200px;">
<div class="d-flex toast-body border-top border-{{ .Type }}">
<div class="d-flex align-items-center toast-body border-top border-{{ .Type }}">
{{ .Text | html }}
<button type="button" class="ml-auto text-white btn p-0" data-dismiss="toast" aria-label="Close">
<i class="bi bi-x"></i>