Topic: UL/LI shrinking Inside DIV
decosvaldo pro asked 7 years ago
Marta Szymanska staff pro premium answered 7 years ago
<ul class="list-unstyled p-2">
<li class="media d-flex flex-column">
<div class="media-body mb-1">
<p class="mb-2"><strong>test </strong><span class="status text-success">test test</span></p>
</div>
<div class="progress mb-2" style="height: 20px">
<div class="progress-bar" role="progressbar" style="width: 25%; height: 20px" aria-valuenow="25" aria-valuemin="0" aria-valuemax="100">25%</div>
</div>
<hr class="mt-1 mb-1 w-100">
</li>
<li class="media d-flex flex-column">
<div class="media-body mb-1">
<p class="mb-2"><strong>test </strong><span class="status text-success">test test</span></p>
</div>
<div class="progress mb-2" style="height: 20px">
<div class="progress-bar" role="progressbar" style="width: 25%; height: 20px" aria-valuenow="25" aria-valuemin="0" aria-valuemax="100">25%</div>
</div>
<hr class="mt-1 mb-1 w-100">
</li>
<li class="media d-flex flex-column">
<div class="media-body mb-1">
<p class="mb-2"><strong>test </strong><span class="status text-success">test test</span></p>
</div>
<div class="progress mb-2" style="height: 20px">
<div class="progress-bar" role="progressbar" style="width: 25%; height: 20px" aria-valuenow="25" aria-valuemin="0" aria-valuemax="100">25%</div>
</div>
<hr class="mt-1 mb-1 w-100">
</li>
<li class="media d-flex flex-column">
<div class="media-body mb-1">
<p class="mb-2"><strong>test </strong><span class="status text-success">test test</span></p>
</div>
<div class="progress mb-2" style="height: 20px">
<div class="progress-bar" role="progressbar" style="width: 25%; height: 20px" aria-valuenow="25" aria-valuemin="0" aria-valuemax="100">25%</div>
</div>
<hr class="mt-1 mb-1 w-100">
</li>
</ul>
If it isn't helpful, please provide more details of your problem and your code for better reporoduction of the issue.
Best,
Marta decosvaldo pro commented 7 years ago
Thanks, I'll test and post the result.decosvaldo pro commented 7 years ago
Fixed with w-100 on media body. Thanksdecosvaldo pro answered 7 years ago
Marta Szymanska staff pro premium answered 7 years ago
FREE CONSULTATION
Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.
Answered
- User: Pro
- Premium support: No
- Technology: General Bootstrap questions
- MDB Version: -
- Device: -
- Browser: -
- OS: -
- Provided sample code: No
- Provided link: No