From b33ac6ea7bbeb7de9fd80b5bd4a6901fcae1f687 Mon Sep 17 00:00:00 2001 From: Milan Malfait <38256462+milanmlft@users.noreply.github.com> Date: Tue, 26 Nov 2024 13:10:06 +0100 Subject: [PATCH] fix(app): keep concepts table at minimum height Prioritise keeping table size consistent over trying to fit everything in one page. Fixes #112. --- app/R/app_ui.R | 1 + app/R/mod_datatable.R | 3 ++- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/app/R/app_ui.R b/app/R/app_ui.R index 75b84ca..0635670 100644 --- a/app/R/app_ui.R +++ b/app/R/app_ui.R @@ -11,6 +11,7 @@ app_ui <- function(request) { # The UI logic page_navbar( + fillable = FALSE, title = .app_title(), sidebar = sidebar( title = "Filtering options", diff --git a/app/R/mod_datatable.R b/app/R/mod_datatable.R index 6818609..bd5fac8 100644 --- a/app/R/mod_datatable.R +++ b/app/R/mod_datatable.R @@ -25,7 +25,8 @@ mod_datatable_ui <- function(id) { "Clear selected rows" ) ), - DT::DTOutput(ns("datatable")) + DT::DTOutput(ns("datatable")), + min_height = 650 ) ) }