-
Notifications
You must be signed in to change notification settings - Fork 300
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
Too small icon with valueBox and font awesome #189
Comments
Update: restoring |
I have the same issue. All other icons seem to be functional other than font-awesome. |
@rich-iannone Could you take a look at this? |
@jjallaire I will. Thanks! |
It seems to be caused by rstudio/rmarkdown#1340. |
@rich-iannone Have you discovered a change we can make here? As things currently stand I think that value boxes are broken (visually) by the font awesome update. My presumption is that the fix might just be a CSS tweak. Let me know and let's see if we can resolve this one soon. |
@jjallaire I think that some CSS is indeed causing the problem. In my local version of rmarkdown I made the upgrade to the newest FontAwesome 5 release and added a different stylesheet. Here is the dependency:
But the problem persists afterward. On my system, I don't get three boxes in a row (and this is whether I use FA icons or not). Here is the document where I don't use the icons in the
I'm going to now have a closer look at the included stylesheets. |
@jjallaire I arrived at a fix. The idea is to not use any JS dependencies (as before with version 4.5.0):
I'll submit as a PR in |
This should now be fixed on master (via installation of the dev version of rmarkdown) |
This avoids an issue with too small fontawesome icons rstudio/flexdashboard#189
Hi!
It seems that an update to FontAwesome (or to shiny?) somehow broke
valueBox
. The icon is now represented too small, same size as the text, on a separate line below the text. This only concerns FontAwesome, I had no problem using other icons, e.g.ion-android-done-all
.The problem is reproducible, with the example from the documentation
My dashboard was unchanged since May 1st 2018 and looked OK then. Problem encountered now, with flexdashboard 0.5.1, shiny 1.1.0 (also tried shiny 1.0.5)
Is there any possible workaround?
The text was updated successfully, but these errors were encountered: