Skip to content

Commit

Permalink
Switch to using a fixed row calculation to allow for bslib to expand …
Browse files Browse the repository at this point in the history
…row 2's card to be the entire column span.
  • Loading branch information
coatless committed Apr 12, 2024
1 parent e09ee8e commit b364367
Showing 1 changed file with 3 additions and 6 deletions.
9 changes: 3 additions & 6 deletions app.R
Original file line number Diff line number Diff line change
Expand Up @@ -119,12 +119,9 @@ ui <- page_fluid(
br(),
layout_column_wrap(
height = 1000,
col_widths = 12,
fillable = TRUE,
layout_column_wrap(
width = 1/2,
col_width = 6,
heights_equal = "row",
layout_columns(
col_widths = c(6, 6, 16),
row_heights = c(1, 5),
value_box(
title = "Hours since last earthquake",
value = as.numeric(hours_last),
Expand Down

0 comments on commit b364367

Please sign in to comment.