Add border to dropdown content

This commit is contained in:
2026-01-08 19:19:19 +01:00
parent 7f51f9fd42
commit 3664acde0f

8
ui.R
View File

@@ -51,6 +51,14 @@ ui <- function() {
choices = c("Bezirke", "Stadtteile"), choices = c("Bezirke", "Stadtteile"),
selected = "Bezirke" selected = "Bezirke"
), ),
tags$head(
tags$style(HTML("
.selectize-dropdown-content .option {
border-bottom: 1px solid #dee2e6; /* Die Trennlinie */
padding: 8px 10px; /* Abstand zwischen Text und Linie */
}
"))
),
selectizeInput( selectizeInput(
inputId = "search", inputId = "search",
label = tags$span(icon("search"),"Suche"), label = tags$span(icon("search"),"Suche"),