Closed seankross closed 6 months ago
bslib::card_image by default seems to force the image to fill the entire card, which makes it look stretched out. I cooked up the abomination below to replace bslib::card_image, but maybe there's a better way?
bslib::card_image
div(style = "display: flex; justify-content: center; align-items: center; height: 100%;", tags$a(href = "packages.html", img(src = "assets/WDLlogo.png", style = "max-width: 100%; height: auto;")) )
Related to #5 and #7
bslib::card_image
by default seems to force the image to fill the entire card, which makes it look stretched out. I cooked up the abomination below to replacebslib::card_image
, but maybe there's a better way?