Navigation Menu

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

Fix alert border radius #36461

Merged
merged 1 commit into from May 30, 2022
Merged

Fix alert border radius #36461

merged 1 commit into from May 30, 2022

Conversation

mastercoms
Copy link
Contributor

Was not using the mixin, which makes it not work properly with $enable-rounded: false. Also var fallback was 0, but variable is scoped in the class, and no other usages of border radius seem to do this, so removed.

@mastercoms mastercoms requested a review from a team as a code owner May 29, 2022 17:22
Copy link
Member

@julien-deramond julien-deramond left a comment

Choose a reason for hiding this comment

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

Thanks for the PR <3
Sounds good to me. It reflects the behavior that we had before the CSS custom properties for alerts:

@include border-radius($alert-border-radius);

I need to check in the history but _badge.scss and _tooltip.scss could have the same need of modification.

@mastercoms
Copy link
Contributor Author

Will do the same for badge and tooltip, thanks :)

@mdo mdo added this to In progress in v5.2.0-stable via automation May 30, 2022
@mdo mdo merged commit 78c0ad8 into twbs:main May 30, 2022
v5.2.0-stable automation moved this from In progress to Done May 30, 2022
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-stable
  
Done
Status: Done
Development

Successfully merging this pull request may close these issues.

None yet

3 participants