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

add back focus box shadow to btn-link #36366

Merged
merged 1 commit into from May 20, 2022
Merged

Conversation

RyanBerliner
Copy link
Contributor

@RyanBerliner RyanBerliner commented May 16, 2022

5.2.0-beta1 looks to have accidentally dropped the box shadow around btn-link buttons on focus. You can see this by tab navigating to a btn-link on both 5.1.x and 5.2.0-beta1 and comparing

This is because the --#{$prefix}btn-focus-shadow-rgb variable is undefined in the context of btn-link. My solution here does involve code duplication from the button-variant() mixin - I'm certainly open to other solutions, however this illustrates the problem and a potential solution.

Preview link: https://deploy-preview-36366--twbs-bootstrap.netlify.app/docs/5.2/components/buttons/#examples

@RyanBerliner RyanBerliner requested a review from a team as a code owner May 16, 2022 01:50
@GeoSot GeoSot added this to In progress in v5.2.0-stable via automation May 16, 2022
v5.2.0-stable automation moved this from In progress to Reviewer approved May 20, 2022
Copy link
Member

@mdo mdo left a comment

Choose a reason for hiding this comment

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

Great catch, thanks!

@mdo mdo merged commit 27261bd into twbs:main May 20, 2022
v5.2.0-stable automation moved this from Reviewer approved to Done May 20, 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