How to make a bootstrap slider a little?

There is a slider for bootstrap
<div id="carouselExampleIndicators" class="carousel slide" data-ride="carousel">
 <ol class="carousel-indicators">
 <li data-target="#carouselExampleIndicators" data-slide-to="0" class="active"></li>
 <li data-target="#carouselExampleIndicators" data-slide-to="1"></li>
 <li data-target="#carouselExampleIndicators" data-slide-to="2"></li>
 <div class="carousel-inner">
 <div class="carousel-item active">
 <img class="d-block w-100" src="data:image/svg+xml;charset=UTF-8," alt="First slide">
 <div class="carousel-item">
 <img class="d-block w-100" src="data:image/svg+xml;charset=UTF-8," alt="Second slide">
 <div class="carousel-item">
 <img class="d-block w-100" src="data:image/svg+xml;charset=UTF-8," alt="Third slide">
 <a class="carousel-control-prev" href="#carouselExampleIndicators" role="button" data-slide="prev">
 <span class="carousel-control-prev-icon" aria-hidden="true"></span>
 <span class="sr-only">Previous</span>
 <a class="carousel-control-next" href="#carouselExampleIndicators" role="button" data-slide="next">
 <span class="carousel-control-next-icon" aria-hidden="true"></span>
 <span class="sr-only">Next</span>

The problem is that it stretches the whole page: link
And it is necessary that the slider was in a small window, I tried to set the size using width & height, but the slider ceases to be adaptive

Can someone help)
March 23rd 20 at 18:45
1 answer
March 23rd 20 at 18:47
If you need a small window, give him the width, parent

Find more questions by tags BootstrapLayoutHTMLCSS