creativetimofficial / ct-soft-ui-dashboard-pro

Soft UI Dashboard Pro - Bootstrap 5 Admin
34 stars 6 forks source link

[Bug] Bootstrap Modal close button is white on white-bg #25

Open netinsiders opened 3 years ago

netinsiders commented 3 years ago

Version

1.0.4

Reproduction link

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

Operating System

OSx

Device

iMac

Browser & Version

Brave, Firefox, Safari

Steps to reproduce

  1. Click on Launch demo modal
  2. Move the mouse to the upper right corner of the modal

    What is expected?

    You should see the close button

    What is actually happening?

    It's not visible


Solution

Change color

Additional comments

rarestoma commented 3 years ago

Hi @netinsiders,

Thank you for working with our products.

To fix this, please add 'text-dark' class on the close button.

<button type="button" class="btn-close text-dark" data-bs-dismiss="modal" aria-label="Close">
  <span aria-hidden="true">×</span>
</button>

Please let me know if it works.

Best regards, Rares