Skip to content

Commit

Permalink
Fix style of modal close button (#3651)
Browse files Browse the repository at this point in the history
It became unstyled since the upgrade of Bootstrap
  • Loading branch information
oprypin committed Apr 17, 2024
1 parent 652813d commit e39cce2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion mkdocs/themes/mkdocs/keyboard-modal.html
Expand Up @@ -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">
Expand Down
2 changes: 1 addition & 1 deletion mkdocs/themes/mkdocs/search-modal.html
Expand Up @@ -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>
Expand Down

0 comments on commit e39cce2

Please sign in to comment.