Skip to content

Commit

Permalink
docs: report a bug on link within a card
Browse files Browse the repository at this point in the history
  • Loading branch information
wesleyboar committed Sep 23, 2024
1 parent 646bd34 commit f2c1f80
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/lib/_imports/components/c-card.css
Original file line number Diff line number Diff line change
Expand Up @@ -106,6 +106,9 @@

:--c-card > a:not(:--c-button),
:--c-card > p > a:not(:--c-button) {
/* XXX: Prevents text around it from wrapping if link spans two lines */
/* FAQ: To fix on client, `class="d-inline"` or `style="display: inline"` */
/* ???: Why does this use `inline-flex`? */
display: inline-flex;
align-items: baseline;
}
Expand Down

0 comments on commit f2c1f80

Please sign in to comment.