diff --git a/R/style.R b/R/style.R index 1235984..4f1e610 100644 --- a/R/style.R +++ b/R/style.R @@ -3,15 +3,19 @@ custom_css <- function() { tags$head( tags$style(HTML( - ".nav-hidden { height: 0 }", ".flow-layout > div {", "display: inline-block;", "vertical-align: top;", "margin-right: 12px;", "}", - ".shiny-input-container { width: auto !important; min-width: 200px; }", "h5 { margin-top: 0.5rem; margin-bottom: 1rem; font-weight: bold; }", - ".navbar-brand { font-weight: bold; }" + ".navbar-brand { font-weight: bold; }", + # Undo changes in Bootstrap theme: + ".nav-underline .nav-link { border-bottom: 0; }", + ".nav-underline .nav-link.active { font-weight: normal; }", + # Fix slider inputs floating above dropdown menu: + ".irs--shiny .irs-bar { z-index: 1; }", + ".irs--shiny .irs-handle { z-index: 1; }" )) ) }