mirror of
https://github.com/twbs/bootstrap.git
synced 2024-12-01 13:24:25 +01:00
Update site/docs/4.1/utilities/stretched-link.md
Co-Authored-By: MartijnCuppens <martijn.cuppens@gmail.com>
This commit is contained in:
parent
abd5a5e4bd
commit
210d49ec05
@ -21,7 +21,7 @@ Cards are relative by default, so in this case you can safely add the `.stretche
|
||||
{% endcapture %}
|
||||
{% include example.html content=example %}
|
||||
|
||||
Media objects are not relative by default, we need to add the `.position-relative` here to prevent the link from stretching outside the media object.
|
||||
Media objects do not have `position: relative` by default, so we need to add the `.position-relative` here to prevent the link from stretching outside the media object.
|
||||
|
||||
{% capture example %}
|
||||
<div class="media position-relative">
|
||||
|
Loading…
Reference in New Issue
Block a user