Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove tooltip and popover styling as it is handled by Popper #34627

Merged
merged 5 commits into from
Apr 13, 2022

Conversation

GeoSot
Copy link
Member

@GeoSot GeoSot commented Jul 30, 2021

Closes #35039

Popper.js suggests to avoid the usage of margins, so our variable, and some initializations are obsolete

Preview https://deploy-preview-34627--twbs-bootstrap.netlify.app/

@GeoSot GeoSot requested review from ffoodd and a team July 30, 2021 00:19
@GeoSot GeoSot changed the title Tooltip css tweaks Remove tooltip and popover styling as it is handled by Popper Aug 3, 2021
@GeoSot GeoSot added this to In progress in v5.2.0 via automation Aug 4, 2021
@GeoSot GeoSot moved this from In progress to Review in progress in v5.2.0 Oct 5, 2021
@GeoSot GeoSot requested a review from mdo October 5, 2021 21:48
@GeoSot GeoSot marked this pull request as ready for review October 5, 2021 23:26
@XhmikosR XhmikosR added this to Inbox in v6.0.0 via automation Nov 3, 2021
scss/_variables.scss Outdated Show resolved Hide resolved
@XhmikosR XhmikosR removed this from Inbox in v6.0.0 Dec 2, 2021
@GeoSot GeoSot force-pushed the gs-tooltip-css-tweaks branch 2 times, most recently from a54c792 to b6cc8d5 Compare February 14, 2022 23:38
@ffoodd
Copy link
Member

ffoodd commented Feb 15, 2022

I noticed a case in RTL cheatsheet where the arrow is on the wrong side on small screen.

Not quite sure what's happening but needs some diagnostics. As far as I remember, RTL needed the left: 0 too—but that's kinda old now in my mind 😅

@mdo mdo force-pushed the gs-tooltip-css-tweaks branch 2 times, most recently from 9134bab to 55cdaea Compare February 25, 2022 16:55
@mdo
Copy link
Member

mdo commented Apr 12, 2022

@GeoSot If this is still good to go, want to take a crack at resolving conflicts and we can review once more before merging?

@GeoSot
Copy link
Member Author

GeoSot commented Apr 12, 2022

For v5 seems fine. As popper has been changed lately, I am not aware if theses changes will be reverted on BS v6

Remove tooltip margin variable, as popper needs margin to be zero
v5.2.0 automation moved this from Review in progress to Reviewer approved Apr 13, 2022
@mdo mdo merged commit 8aaeb3c into main Apr 13, 2022
v5.2.0 automation moved this from Reviewer approved to Done Apr 13, 2022
@mdo mdo deleted the gs-tooltip-css-tweaks branch April 13, 2022 01:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
No open projects
v5.2.0
  
Done
Development

Successfully merging this pull request may close these issues.

Bootstrap 5 Sass-variable $tooltip-margin not clear or not working
4 participants