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

Switch from none keyword value to a fake shadow for btn-link #37822

Merged
merged 1 commit into from
Jan 6, 2023

Conversation

mdo
Copy link
Member

@mdo mdo commented Jan 6, 2023

It seems that any instance of none nullifies the other shadows, so this changes to a "false" shadow with no distance or blur. Unsure if there's a perf hit here, but since nothing renders, maybe not?

Fixes #37810.

@mdo mdo requested a review from a team as a code owner January 6, 2023 05:11
@mdo mdo merged commit eb10b70 into main Jan 6, 2023
@mdo mdo deleted the btn-link-shadows-focus branch January 6, 2023 19:48
@classicmike
Copy link

Thanks @mdo.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
No open projects
Status: Done
Development

Successfully merging this pull request may close these issues.

Bootrstrap 5.2.3 Issue where $enable-shadows: true removes box-shadow when button is on :focus-visible state.
2 participants