Change viewport to 1000

This commit is contained in:
2026-02-07 12:02:39 +01:00
parent d0f36ce7c5
commit 077f2576e2

4
ui.R
View File

@@ -40,7 +40,7 @@ ui <- function() {
background-color: #f4f7f9 !important; /* Ganz leichtes Blaugrau für Tiefe */ background-color: #f4f7f9 !important; /* Ganz leichtes Blaugrau für Tiefe */
transform-origin: 0 0; /* Align to top-left for math accuracy */ transform-origin: 0 0; /* Align to top-left for math accuracy */
width: 1920px; /* Match your dev monitor */ width: 1920px; /* Match your dev monitor */
height: 1080px; height: 1000px;
overflow: hidden; overflow: hidden;
position: absolute; position: absolute;
} }
@@ -238,7 +238,7 @@ ui <- function() {
tags$script(HTML(" tags$script(HTML("
$(document).on('shiny:connected', function() { $(document).on('shiny:connected', function() {
var targetWidth = 1920; var targetWidth = 1920;
var targetHeight = 1080; var targetHeight = 1000;
function scaleApp() { function scaleApp() {
var windowWidth = $(window).width(); var windowWidth = $(window).width();
var windowHeight = $(window).height(); var windowHeight = $(window).height();