Remove scaling old stuff
This commit is contained in:
33
ui.R
33
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(
|
||||
|
||||
Reference in New Issue
Block a user