Skip to content

Commit

Permalink
fix(app): keep concepts table at minimum height
Browse files Browse the repository at this point in the history
Prioritise keeping table size consistent over trying to fit everything
in one page.
Fixes #112.
  • Loading branch information
milanmlft committed Nov 26, 2024
1 parent b3326cd commit b33ac6e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions app/R/app_ui.R
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ app_ui <- function(request) {

# The UI logic
page_navbar(
fillable = FALSE,
title = .app_title(),
sidebar = sidebar(
title = "Filtering options",
Expand Down
3 changes: 2 additions & 1 deletion app/R/mod_datatable.R
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,8 @@ mod_datatable_ui <- function(id) {
"Clear selected rows"
)
),
DT::DTOutput(ns("datatable"))
DT::DTOutput(ns("datatable")),
min_height = 650
)
)
}
Expand Down

0 comments on commit b33ac6e

Please sign in to comment.