Skip to content

Conversation

ajaypatelaj
Copy link

BS5 changed the close button class to btn-close: https://getbootstrap.com/docs/5.0/components/close-button/
Added class with float utility

BS5 changed the close button class to btn-close: https://getbootstrap.com/docs/5.0/components/close-button/
Added class with float utility
@caseyjhol caseyjhol changed the base branch from main to dev April 20, 2022 21:09
Copy link
Member

@caseyjhol caseyjhol left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This breaks the close button in Bootstrap 3 and Bootstrap 4. A solution may be to:

  • remove × from inside the button
  • via CSS, set .close content to the unicode for ×
  • set classNames.CLOSEBUTTON = 'close' by default. If version is >= 5, set classNames.CLOSEBUTTON = 'btn-close float-end'

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants