0

I am trying to build a dashboard in R Shiny. I have a table that I would like to output. It's working, but there's a lot of white space within the box. The table does not take up the entire box. Is there a way to expand the size of the table so it fills up the entire box? Code below:

fluidRow(box(width = 4, height = 280, h5("Total Cost"), gt_output("total_cost_table"))
  • It's probably something as easy as assigning the table width and height to 100%. However, it's difficult to say without being able to look at the code. What you've provided doesn't provide nearly enough information. It looks like you're new to SO; welcome to the community! If you want great answers quickly, it's best to make your question reproducible. This includes sample data like the output from `dput()` or `reprex::reprex()` and any libraries you are using. Check it out: [making R reproducible questions](https://stackoverflow.com/q/5963269). – Kat Nov 01 '22 at 03:22

0 Answers0