Skip to content

Commit

Permalink
Typo fix (#921)
Browse files Browse the repository at this point in the history
  • Loading branch information
howardbaik authored Nov 27, 2023
1 parent 56e8bea commit 8bf974d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion vignettes/cards/index.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ card(
If you find yourself using `card_body()` without changing any of its defaults, consider dropping it altogether since any direct children of `card()` that aren't "known" `card()` items, are wrapped together into an implicit `card_body()` call.[^1] For example, the code to the right generates HTML that is identical to the previous example:
:::

[^1]: If you want to customize this behavior, you can provide a function function to `wrapper` argument (or set it to `NULL` to avoid wrapping the non card items in a container).
[^1]: If you want to customize this behavior, you can provide a function to `wrapper` argument (or set it to `NULL` to avoid wrapping the non card items in a container).

::: col-md-6
```{r}
Expand Down
2 changes: 1 addition & 1 deletion vignettes/filling/index.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -320,7 +320,7 @@ fillable_container(

::: {.row .mt-3}
::: col-md-6
You might wonder, why then would we want or need `fillable = FALSE` or `fill = FALSE` on a `card_body()`? One big reason is that [fillable containers]{.b-pink} are powered by [CSS flexbox](https://css-tricks.com/snippets/css/a-guide-to-flexbox/), which changes the way it's children are rendered. And, although those changes are nice for "stretchy" children, there are [downsides for rendering inline elements](../cards#flexbox). So, that's why, it's recommended that you use multiple card bodies](../cards#multiple-card_body) when combining [fill]{.b-blue} with [non-fill]{.b-orange}
You might wonder, why then would we want or need `fillable = FALSE` or `fill = FALSE` on a `card_body()`? One big reason is that [fillable containers]{.b-pink} are powered by [CSS flexbox](https://css-tricks.com/snippets/css/a-guide-to-flexbox/), which changes the way it's children are rendered. And, although those changes are nice for "stretchy" children, there are [downsides for rendering inline elements](../cards#flexbox). So, that's why, it's recommended that you use [multiple card bodies](../cards#multiple-card_body) when combining [fill]{.b-blue} with [non-fill]{.b-orange}
:::

::: col-md-6
Expand Down

0 comments on commit 8bf974d

Please sign in to comment.