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