You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello @Batman08. Bug reports must include a live demo of the issue. Per our contributing guidelines, please create a reduced test case on CodePen or StackBlitz and report back with your link, Bootstrap version, and specific browser and Operating System details.
Adding an extra <div> surrounding the button, it messes with the CSS rules for the alignment.
Instead, you can add for example the data-bs-theme="dark" directly higher in the existing <div>:
Prerequisites
Describe the issue
If you use the dark variant of the modal "close" button as show here;
https://getbootstrap.com/docs/5.3/components/close-button/#dark-variant
Then it looks like the change done here:
#39373 (comment)
i.e. "The space-between is not used anymore as the position of the btn-close is based on the margin now."
This means the "close" button doesn't get pushed to the far right and instead sits next to the title on the left.
Reduced test cases
https://codepen.io/Batman08/pen/bGJbxQa
What operating system(s) are you seeing the problem on?
Windows
What browser(s) are you seeing the problem on?
Chrome
What version of Bootstrap are you using?
5.3.3
The text was updated successfully, but these errors were encountered: