learnr
learnr copied to clipboard
Simplify example_cards.R by using bslib
I think there's now only one significant difference: I've switched from a title to a header. This looks better to me, but if you don't agree I'm happy to change it back.
Preview: https://rstudio.github.io/learnr/preview/pr815/articles/examples.html Current: https://rstudio.github.io/learnr/articles/examples.html
I guess the other difference is that I made it 3 columns to a row, instead of 4.
Thanks for this PR! Comparing the bslib result with my initial design here inspired a few improvements to card_image(): https://github.com/rstudio/bslib/pull/1076