Fix style of modal close button (#3651)

It became unstyled since the upgrade of Bootstrap
This commit is contained in:
Oleh Prypin
2024-04-18 00:38:01 +02:00
committed by GitHub
parent 652813da4b
commit e39cce220a
2 changed files with 2 additions and 2 deletions

View File

@@ -3,7 +3,7 @@
<div class="modal-content">
<div class="modal-header">
<h4 class="modal-title" id="keyboardModalLabel">{% trans %}Keyboard Shortcuts{% endtrans %}</h4>
<button type="button" class="close" data-bs-dismiss="modal"><span aria-hidden="true">&times;</span><span class="sr-only">{% trans %}Close{% endtrans %}</span></button>
<button type="button" class="btn-close" data-bs-dismiss="modal" aria-label="{% trans %}Close{% endtrans %}"></button>
</div>
<div class="modal-body">
<table class="table">

View File

@@ -3,7 +3,7 @@
<div class="modal-content">
<div class="modal-header">
<h4 class="modal-title" id="searchModalLabel">{% trans %}Search{% endtrans %}</h4>
<button type="button" class="close" data-bs-dismiss="modal"><span aria-hidden="true">&times;</span><span class="sr-only">{% trans %}Close{% endtrans %}</span></button>
<button type="button" class="btn-close" data-bs-dismiss="modal" aria-label="{% trans %}Close{% endtrans %}"></button>
</div>
<div class="modal-body">
<p>{% trans %}From here you can search these documents. Enter your search terms below.{% endtrans %}</p>