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

bootstrap-utilities.css missing CSS variables #37376

Closed
3 tasks done
ericleib opened this issue Oct 25, 2022 · 0 comments · Fixed by #37377
Closed
3 tasks done

bootstrap-utilities.css missing CSS variables #37376

ericleib opened this issue Oct 25, 2022 · 0 comments · Fixed by #37377
Labels

Comments

@ericleib
Copy link
Contributor

Prerequisites

Describe the issue

(Unless I missed something and this is on purpose,) the dist/css/bootstrap-utilities.css file (version 5.2.0) is missing the CSS variables required by certain utilities. For example the .border class has no effect, because --bs-border-width, --bs-border-style and --bs-border-color are undefined.

Reduced test cases

  • Include bootstrap-utilities.css in your page (and not the rest of Bootstrap).
  • Test that <div class="m-5">Hello world</div> works correctly (this class is NOT based on a variable).
  • Test that <div class="border">Hello world</div> has no effect (this class is based on the unset --bs-border-width, --bs-border-style and --bs-border-color variables).

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

Windows

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

Chrome

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
No open projects
Status: Done
Development

Successfully merging a pull request may close this issue.

2 participants