bslib cards not resizing to fit content

the following code produces a vertical scroll bar on the data table inside the card, rather than scaling the card height to fit the content inside. here's a repex:

library(bslib)
library(DT)

card(
    card_header('why scroll if i said card_body_fill?'),
    card_body_fill(datatable(mtcars))
)

what's causing this? can it be fixed, or is it something that card_body_fill can't handle yet?

1 Like

This topic was automatically closed 54 days after the last reply. New replies are no longer allowed.

If you have a query related to it or one of the replies, start a new topic and refer back with a link.