mirror of
https://github.com/Part-DB/Part-DB-server.git
synced 2025-06-21 01:25:55 +02:00
Fixed styling of toasts.
This commit is contained in:
parent
582f8e4c5f
commit
29fb59c76e
1 changed files with 1 additions and 3 deletions
|
@ -13,9 +13,7 @@
|
||||||
<i class="fas fa-fw {{ flash_symbol }} me-2"></i>
|
<i class="fas fa-fw {{ flash_symbol }} me-2"></i>
|
||||||
<strong class="me-auto">{{ flash_title|trans }}</strong>
|
<strong class="me-auto">{{ flash_title|trans }}</strong>
|
||||||
<small class="{% if "text-white" in flash_bg %}text-white{% else %}text-muted{% endif %}">{{ "now" | format_datetime("short", "short") }}</small>
|
<small class="{% if "text-white" in flash_bg %}text-white{% else %}text-muted{% endif %}">{{ "now" | format_datetime("short", "short") }}</small>
|
||||||
<button type="button" class="ms-2 mb-1 close" data-dismiss="toast" aria-label="Close">
|
<button type="button" class="ms-2 mb-1 btn-close {% if "text-white" in flash_bg %}btn-close-white{% endif %}" data-bs-dismiss="toast" aria-label="Close"></button>
|
||||||
<span aria-hidden="true">×</span>
|
|
||||||
</button>
|
|
||||||
</div>
|
</div>
|
||||||
<div class="toast-body {{ flash_bg }}">
|
<div class="toast-body {{ flash_bg }}">
|
||||||
{{ message | trans }}
|
{{ message | trans }}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue