My Shiny dashboard has a dashboardHeader
with an ajustable width titleWidth
. However I cannot modify the height. I'd like to increase the height so that the heights of my dashboard title and image (company_logo.png) are the same. Currently, this isn't the case.
This is a an extract of my app with the code for the header.
#Header
header=dashboardHeader(title="Dashboard",titleWidth = 250
,tags$li(class = "dropdown",
tags$a(href="http://www.google.com/", target="_blank",
tags$img(height = "30px", alt="SNAP Logo", src="company_logo.png")
)))
I suspect some CSS
is involved here, but I am not very experienced at it.
Any help would be greatly appreciated.