Add font styling to card content
This commit is contained in:
23
server.R
23
server.R
@@ -189,11 +189,26 @@ server <- function(input, output, session) {
|
|||||||
zoom = 11
|
zoom = 11
|
||||||
)
|
)
|
||||||
})
|
})
|
||||||
output$txt_map_selection_bezirk <- renderText({
|
output$txt_map_selection_bezirk <- renderUI({
|
||||||
currently_selected_bezirk()
|
bez <- currently_selected_bezirk()
|
||||||
|
req(bez)
|
||||||
|
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;")
|
||||||
|
)
|
||||||
|
|
||||||
})
|
})
|
||||||
output$txt_map_selection_stadtteil <- renderText({
|
output$txt_map_selection_stadtteil <- renderUI({
|
||||||
currently_selected_stadtteil()
|
sdt <- currently_selected_stadtteil()
|
||||||
|
req(sdt)
|
||||||
|
div(
|
||||||
|
class = "d-flex align-items-end gap-2",
|
||||||
|
h5(strong("Stadtteil:"), style = "margin-bottom: 0;"),
|
||||||
|
p(sdt)
|
||||||
|
)
|
||||||
|
|
||||||
})
|
})
|
||||||
output$grph_top3 <- renderPlot({
|
output$grph_top3 <- renderPlot({
|
||||||
data_tibble <- map_data_to_top3_plot(
|
data_tibble <- map_data_to_top3_plot(
|
||||||
|
|||||||
Reference in New Issue
Block a user