Hello I have three boxes on my dashborad-body. The boxes contains images and table. I want that boxes resize by content. I will have more srcset with different resolution of images so I cant set fixed width of boxes.
library(shinydashboard)
dashboardPage(
dashboardHeader(),
dashboardSidebar(),
dashboardBody(
fluidRow(
box(tags$img(src="1.jpg",srcset="smaller.jpg 1024w")),
box(tags$img(src="1.jpg",srcset="smaller.jpg 1024w")),
box(tags$img(src="1.jpg",srcset="smaller.jpg 1024w"))
)
)
)