Skip to content

Commit

Permalink
Close #666. Follow up to #664. Make sure value_box()'s dependency doe…
Browse files Browse the repository at this point in the history
…sn't create an empty card-body (i.e., card item)
  • Loading branch information
cpsievert committed Jul 11, 2023
1 parent 8b0dc57 commit c0d1177
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion R/value-box.R
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ value_box <- function(title, value, ..., showcase = NULL, showcase_layout = show
fill = fill,
!!!attribs,
contents,
component_dependency_css("value_box")
as.card_item(component_dependency_css("value_box"))
)

as_fragment(tag_require(res, version = 5, caller = "value_box()"))
Expand Down

0 comments on commit c0d1177

Please sign in to comment.