From 8ec5060277fad23eda67dc50abde9118b26ecae0 Mon Sep 17 00:00:00 2001 From: Millicool Date: Wed, 21 Jan 2026 10:08:33 +0100 Subject: [PATCH] Change accordion styles --- ui.R | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/ui.R b/ui.R index 09e737e..6bb84d2 100644 --- a/ui.R +++ b/ui.R @@ -281,24 +281,23 @@ ui <- function() { ), nav_panel("Weiterführende Informationen", accordion( + open = FALSE, #schließt alle Panels beim Start accordion_panel( - title = "Raub, räuberische Erpressung, räuberischer Angriff auf Kraftfahrer", + title = h3("Raub, räuberische Erpressung, räuberischer Angriff auf Kraftfahrer", style = "margin: 0;"), + value = "headline_raub", accordion( + open = FALSE, accordion_panel( - title = h4("Raub nach § 249 StGB", style = "margin: 0;"), + title = h4("Raub nach §§ 249ff. StGB", style = "margin: 0;"), value = "raub_249", p("Raubdelikte sind Straftaten, bei denen jemand eine fremde bewegliche Sache wegnimmt, indem er Gewalt anwendet oder mit Gewalt droht, um sie sich oder einem Dritten rechtswidrig zuzueignen."), ), - ), - accordion( accordion_panel( title = h4("Räuberische Erpressung nach § 255 StGB", style = "margin: 0;"), value = "raub_255", p("Räuberische Erpressung ist eine schwere Form der Erpressung, bei der Gewalt gegen eine Person oder die Drohung mit gegenwärtiger Lebens- oder Gesundheitsgefahr eingesetzt wird, um eine Vermögensverfügung zu erzwingen, wodurch der Täter wie ein Räuber (§ 249 StGB) bestraft wird, also mit mindestens einem Jahr Freiheitsstrafe."), ), - ), - accordion( accordion_panel( title = h4("Räuberischer Angriff auf Kraftfahrer nach § 316a StGB", style = "margin: 0;"), value = "raub_316a",