Reputation: 3764
Is there a way to change the icon or at least control the padding of the downloadButton in Shiny?
I've already tried setting the class:
downloadButton("html_link", label = NULL, class = "download_this")
Then in CSS:
.download_this{
height:40px;
width:57px;
color:blue;
padding-top: 3 !important;
}
This changes the size and color, however for some reason the padding doesn't work on the icon and it appears too high on the button.
Upvotes: 2
Views: 3307
Reputation: 2121
It seems like an error in your .css
, css padding
generates space around content, 3
means nothing to css, try:
padding-top: 3px
Upvotes: 3