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

v5.2.0 undefined variables for the btn class #36938

Closed
3 tasks done
Geuchmann opened this issue Aug 10, 2022 · 0 comments · Fixed by #36986
Closed
3 tasks done

v5.2.0 undefined variables for the btn class #36938

Geuchmann opened this issue Aug 10, 2022 · 0 comments · Fixed by #36986
Labels

Comments

@Geuchmann
Copy link
Contributor

Geuchmann commented Aug 10, 2022

Prerequisites

Describe the issue

The .btn class is using e.g. the --{#prefix}-btn-hover-border-color variable, but it's not declared for it.
It's only decleard over the button-variant mixin for the .btn-#{color} classes.

1

My expected behavior would be, keep using parent stylings (in this case .btn), if the child stylings (in this case .btn:hover) are missing (or unset because of undeclared variables).
Else we would have a black border in this case, insted of a transparent border (changed behavior compared with v5.0).

example

What operating system(s) are you seeing the problem on?

Windows

What browser(s) are you seeing the problem on?

No response

What version of Bootstrap are you using?

v5.2.0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants