creativetimofficial/ct-material-dashboard-pro

[Bug] modal close button is not shown

liemteksun opened this issue · 2 comments

Version

3.0.1

Reproduction link

https://www.creative-tim.com/learning-lab/bootstrap/modal/material-dashboard

Operating System

Linux

Device

Linux

Browser & Version

chrome

Steps to reproduce

launch any modal

What is expected?

x (to close) should appear on the top right hand corner of the modal dialog

What is actually happening?

hidden


Solution

Additional comments

Hello @liemteksun,

Thank you for using our products and for letting us know about this issue. Until the next product update, we'll ask you to make the following changes:

  • replace the modal close button with this one:
<button type="button" class="btn-close me-0" data-bs-dismiss="modal" aria-label="Close">
     <i class="fa fa-times text-body" aria-hidden="true"></i>
</button>

Hope this information helps you. Please let us know if we can help you with anything else.

All the best,
Stefan

OK, thanks for the prompt answer