-
Notifications
You must be signed in to change notification settings - Fork 32
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
dash_uploader breaks use of fontawesome #91
Comments
Oops, this appears to be a duplicate of #43. |
Thanks for the detailed info! This is definitely something that should be fixed. Even if this is similar than Issue 45, I'm happy that you provided the details. |
If remove the button.css and progressbar.css files and their associated imports in Upload_ReactComponent.react.js and rebuild the package the following both work for me: Using html components:
Using dash bootstrap components:
|
It would be good if an argument to disable CSS could be provided as I have the same problem with it overriding the styling for the whole dash app. I followed @mneilly and removed the .css and import, if anyone doesnt want to modify and build themselves they can add this to their requirements.txt bearing in mind its cut from stable (0.6) not 0.7 (dev) as name suggests |
I was happy to find dash-uploader after running into the file size limit for dcc.Upload. Thank you for all the effort!
I'm using fontawesome for various buttons on my site. When I use dash-uploader the fonts break however. The following displays the fonts correctly:
as
but uncommenting the import for dash_uploader causes them to be rendered incorrectly as follows:
This is with dash 2.4.1 and dash-uploader 0.7.0a1.
If I go into devtools in the browser and delete the style block for button.css the fonts come back and the upload styling appears to be intact. Dash Bootstrap Components is already including Bootstrap 5 as well.
The text was updated successfully, but these errors were encountered: