-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Labels
fixFixes user-facing behavior or featureFixes user-facing behavior or feature
Description
Overview
A card with a paragraph that has a link that spans multiple lines will fail to render text around the link inline with the link.
Steps
- Have a
<div class="c-card …">. - In that
.card, have a<p>Lots of silly text. … Lots of silly text.</p>. - In that
<p>, have a "Very very long name." link. - Make the card narrow enough for the link to wrap two lines.
Expected
The following all wraps as one line of text:
Lots of silly text. Very
very long name. Lots
of text.
Actual
The link in the following is treated independent of the text around it:
Lots of silly text.
Very very long
name.
Lots of silly text.
Workaround
A. With Bootstrap loaded, add a class d-inline on the link.
B. Without Bootstrap, add style display="inline" or display: unset.
| problem | fix |
|---|---|
![]() |
![]() |
Metadata
Metadata
Assignees
Labels
fixFixes user-facing behavior or featureFixes user-facing behavior or feature

