Change font size and style

This commit is contained in:
2026-02-06 15:50:30 +01:00
parent bc7e9ad756
commit 3c74b98827

View File

@@ -198,21 +198,30 @@ server <- function(input, output, session) {
output$txt_map_selection_bezirk <- renderUI({
bez <- currently_selected_bezirk()
req(bez)
# tags$h5(
# style = "margin-top: 10px; margin-bottom: 2px; font-weight: 400;",
# tags$strong("Bezirk:"),
# tags$span(bez, style = "font-weight: 400;")
# )
div(# Überschrift einfügen
class = "d-flex align-items-baseline gap-2",
style = "margin-bottom: 2px;", # Ganz wenig Abstand zum nächsten Element
tags$b("Bezirk:", style = "font-size: 1.1rem;"), # 'b' ist kompakter als 'h5'
tags$span(bez, style = "font-size: 1.1rem;")
style = "margin-top: 5px; margin-bottom: 0px; display: flex; align-items: center; gap: 8px;", # Ganz wenig Abstand zum nächsten Element
tags$span("Bezirk:", style = "font-weight: 700; font-size: 0.95rem;"),
tags$span(bez, style = "font-weight: 400; font-size: 0.95rem;")
)
})
output$txt_map_selection_stadtteil <- renderUI({
sdt <- currently_selected_stadtteil()
req(sdt)
# tags$h5(
# style = "margin-top: 0px; margin-bottom: 20px; font-weight: 400;",
# tags$strong("Stadtteil:"),
# tags$span(sdt, style = "font-weight: 400;")
# )
div(
class = "d-flex align-items-end gap-2",
h5(strong("Stadtteil:"), style = "margin-bottom: 0;"),
p(sdt)
style = "margin-top: 2px; margin-bottom: 15px; display: flex; align-items: center; gap: 8px;",
tags$span("Stadtteil:", style = "font-weight: 700; font-size: 0.95rem;"),
tags$span(sdt, style = "font-weight: 400; font-size: 0.95rem;")
)
})