Skip to content

Commit

Permalink
Update components-data-viewer.R
Browse files Browse the repository at this point in the history
fixing dropdown button
  • Loading branch information
jreps committed Oct 3, 2023
1 parent 6e7859a commit b10f2f7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion R/components-data-viewer.R
Original file line number Diff line number Diff line change
Expand Up @@ -334,7 +334,7 @@ function filterMinValue(rows, columnId, filterValue) {
# Display message when dat is empty
shiny::validate(shiny::need(hasData(data), "No data for selection"))
# set row height based on nchar of table
if(max(apply(data, 1, function(x) max(nchar(x))), na.rm = T) < 100){
if(max(apply(data, 1, function(x) max(nchar(x))), na.rm = T) < 120){
height <- 40*3
} else{
height <- NULL
Expand Down

0 comments on commit b10f2f7

Please sign in to comment.