0
0
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:
Mark Otto 2018-12-15 20:15:03 +01:00 committed by GitHub
parent abd5a5e4bd
commit 210d49ec05
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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">