From 11228e89417620413ea8fe1ab66c918c60fdcfc3 Mon Sep 17 00:00:00 2001 From: C0d3v Date: Sat, 7 Feb 2026 22:31:53 +0100 Subject: [PATCH] Remove scaling old stuff --- ui.R | 33 --------------------------------- 1 file changed, 33 deletions(-) diff --git a/ui.R b/ui.R index db7d6d7..ff4f943 100644 --- a/ui.R +++ b/ui.R @@ -20,15 +20,7 @@ ui <- function() { HTML(" body { background-color: #f4f7f9; - /* - width: 1920px; - height: 1000px; - */ transform-origin: 0 0; - /* - overflow: hidden; - position: absolute; - */ } .html-fill-container > .html-fill-item.bslib-mb-spacing { border-style: none; @@ -216,31 +208,6 @@ ui <- function() { ) ) ), - # tags$script(HTML(" - # $(document).on('shiny:connected', function() { - # var targetWidth = 1920; - # var targetHeight = 1000; - # function scaleApp() { - # var windowWidth = $(window).width(); - # var windowHeight = $(window).height(); - # - # // Calculate both ratios - # var widthRatio = windowWidth / targetWidth; - # var heightRatio = windowHeight / targetHeight; - # - # // Use the smaller ratio to ensure the app fits entirely - # var scale = Math.min(widthRatio, heightRatio); - # - # $('body').css({ - # 'transform': 'scale(' + scale + ')', - # 'width': targetWidth + 'px', - # 'height': targetHeight + 'px' - # }); - # } - # $(window).on('resize', scaleApp); - # scaleApp(); - # });" - # )), navset_card_tab( nav_panel("Karte", page_sidebar(