From e0e92e0fcc964e298a18bca92e81fec9700fcca2 Mon Sep 17 00:00:00 2001 From: Elias Projahn Date: Wed, 31 Jan 2024 11:17:25 +0100 Subject: [PATCH] Update custom styles --- R/style.R | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) 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; }" )) ) }