diff --git a/app/main.R b/app/main.R index 0085cad..19d3b8e 100644 --- a/app/main.R +++ b/app/main.R @@ -31,7 +31,6 @@ ui <- function(id) { page_fillable( useShinyjs(), theme = bs_theme(version = 5), - style = "margin: auto; max-width: 1500px;", titlePanel("EpiMatch: case-control matching made easy"), div( sidebarLayout( diff --git a/app/static/css/app.min.css b/app/static/css/app.min.css index 27bd6d0..37c8a04 100644 --- a/app/static/css/app.min.css +++ b/app/static/css/app.min.css @@ -1 +1 @@ -#my-sidebar,#app-algo-iteration_results{background-color:var(--bs-body-bg)}#my-sidebar{box-shadow:var(--bs-box-shadow-sm);border-radius:8px}.card-body{height:80vh !important}.Reactable{font-size:.85rem}#app-algo-iteration_results{font-family:"Open Sans";border:none !important} +.bslib-page-fill{margin:auto;max-width:1500px}#my-sidebar,#app-algo-iteration_results{background-color:var(--bs-body-bg)}#my-sidebar{box-shadow:var(--bs-box-shadow-sm);border-radius:8px}.card-body{height:80vh !important}.Reactable{font-size:.85rem}#app-algo-iteration_results{font-family:"Open Sans";border:none !important} diff --git a/app/styles/main.scss b/app/styles/main.scss index 7096f24..1004df0 100644 --- a/app/styles/main.scss +++ b/app/styles/main.scss @@ -1,3 +1,8 @@ +.bslib-page-fill { + margin: auto; + max-width: 1500px; +} + #my-sidebar, #app-algo-iteration_results { background-color: var(--bs-body-bg); }