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

css is not loading properly #442

Open
darda-veostr opened this issue Aug 13, 2023 · 2 comments
Open

css is not loading properly #442

darda-veostr opened this issue Aug 13, 2023 · 2 comments
Labels

Comments

@darda-veostr
Copy link

Describe the bug
.css file is not working

I have css file include Like this:
import "react-checkbox-tree/lib/react-checkbox-tree.css";

Screenshots

react_tree_view
@jakezatecky
Copy link
Owner

The CSS looks to have loaded fine, but the icons are not rendering. Did you import Font Awesome (the default icon library for this component)? You could add the following to the HTML:

<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.2/css/all.min.css" />

@codygPRAMS
Copy link

@jakezatecky Had a similar problem when importing into the page, the CDN worked for me.

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

No branches or pull requests

3 participants