igroffman commited on
Commit
2239b42
·
verified ·
1 Parent(s): c33dcba

Update app.R

Browse files
Files changed (1) hide show
  1. app.R +2 -2
app.R CHANGED
@@ -3223,7 +3223,7 @@ draw_header <- function() {
3223
 
3224
  if (nrow(MissedCalls) > 0) {
3225
  # First page can fit 10 rows in the bottom half
3226
- first_page_rows <- 10
3227
  remaining_page_rows <- rows_per_page # 30 rows per full page
3228
 
3229
  if (nrow(MissedCalls) <= first_page_rows) {
@@ -3246,7 +3246,7 @@ draw_header <- function() {
3246
  grid.newpage()
3247
  grid.text("Missed Calls (continued)", x = 0.5, y = 0.96,
3248
  gp = gpar(fontsize = 12, fontface = "bold", col = "#006F71"))
3249
- pushViewport(viewport(x = 0.5, y = 0.48, width = 0.92, height = 0.88))
3250
  grid.table(remaining_chunks[[i]], rows = NULL, theme = ttheme_green_small)
3251
  popViewport()
3252
  }
 
3223
 
3224
  if (nrow(MissedCalls) > 0) {
3225
  # First page can fit 10 rows in the bottom half
3226
+ first_page_rows <- 15
3227
  remaining_page_rows <- rows_per_page # 30 rows per full page
3228
 
3229
  if (nrow(MissedCalls) <= first_page_rows) {
 
3246
  grid.newpage()
3247
  grid.text("Missed Calls (continued)", x = 0.5, y = 0.96,
3248
  gp = gpar(fontsize = 12, fontface = "bold", col = "#006F71"))
3249
+ pushViewport(viewport(x = 0.5, y = 0.75, width = 0.92, height = 0.88))
3250
  grid.table(remaining_chunks[[i]], rows = NULL, theme = ttheme_green_small)
3251
  popViewport()
3252
  }