title: why the distance of carousel is too far from its controls?
body: <p>I have a carouse, the items inside it is split by two columns using Bootstrap Grid System. One column is some text and the rest column contains another carousel.</p>
  <p>This is my code:</p>
  <p><div class="snippet" data-lang="js" data-hide="false" data-console="true" data-babel="false">
  <div class="snippet-code">
  <pre class="snippet-code-js lang-js prettyprint-override"><code>$('.owl-carousel').owlCarousel({
      items: 1,
      loop: true,
      nav: true,
      autoheight: true,
  });
  
  $('.store__img-slider').owlCarousel({
      items: 1,
      loop: true,
      nav: true,
      autoheight: true,
  });</code></pre>
  <pre class="snippet-code-html lang-html prettyprint-override"><code>&lt;!DOCTYPE html&gt;
  &lt;html lang="en"&gt;
  &lt;head&gt;
      &lt;meta charset="UTF-8"&gt;
      &lt;meta http-equiv="X-UA-Compatible" content="IE=edge"&gt;
      &lt;meta name="viewport" content="width=device-width, initial-scale=1.0"&gt;
      &lt;title&gt;Document&lt;/title&gt;
      &lt;script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.6.0/jquery.min.js"&gt;&lt;/script&gt;
      &lt;script src="https://cdnjs.cloudflare.com/ajax/libs/OwlCarousel2/2.3.4/owl.carousel.min.js"&gt;&lt;/script&gt;
      &lt;link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/OwlCarousel2/2.3.4/assets/owl.carousel.min.css"&gt;
      &lt;link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/OwlCarousel2/2.3.4/assets/owl.theme.default.min.css"&gt;
      &lt;link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/bootstrap/5.1.3/css/bootstrap-grid.min.css"&gt;
  &lt;/head&gt;
  &lt;body&gt;
      &lt;div class="owl-carousel owl-theme"&gt;
  
          &lt;div class="carousel-item"&gt;
              &lt;div class="container"&gt;
                  &lt;div class="row"&gt;
                      &lt;div class="col-lg-4"&gt;
                         &lt;h1&gt;Some text...&lt;/h1&gt;
                      &lt;/div&gt;
                      &lt;div class="col-lg-8"&gt;
                          &lt;div class="owl-carousel owl-theme"&gt;
                              &lt;div class="carousel-item"&gt;
                                  &lt;img src="https://picsum.photos/530/350" alt=""&gt;
                              &lt;/div&gt;
                              &lt;div class="carousel-item"&gt;
                                  &lt;img src="https://picsum.photos/530/350" alt=""&gt;
                              &lt;/div&gt;
                              &lt;div class="carousel-item"&gt;
                                  &lt;img src="https://picsum.photos/530/350" alt=""&gt;
                              &lt;/div&gt;
                              &lt;div class="carousel-item"&gt;
                                  &lt;img src="https://picsum.photos/530/350" alt=""&gt;
                              &lt;/div&gt;
                              &lt;div class="carousel-item"&gt;
                                  &lt;img src="https://picsum.photos/530/350" alt=""&gt;
                              &lt;/div&gt;
                          &lt;/div&gt;
                      &lt;/div&gt;
                  &lt;/div&gt;
              &lt;/div&gt;
          &lt;/div&gt;
  
          &lt;div class="carousel-item"&gt;
              &lt;div class="container"&gt;
                  &lt;div class="row"&gt;
                      &lt;div class="col-lg-4"&gt;
                         &lt;h1&gt;Some text...&lt;/h1&gt;
                      &lt;/div&gt;
                      &lt;div class="col-lg-8"&gt;
                          &lt;div class="owl-carousel owl-theme"&gt;
                              &lt;div class="carousel-item"&gt;
                                  &lt;img src="https://picsum.photos/530/350" alt=""&gt;
                              &lt;/div&gt;
                              &lt;div class="carousel-item"&gt;
                                  &lt;img src="https://picsum.photos/530/350" alt=""&gt;
                              &lt;/div&gt;
                              &lt;div class="carousel-item"&gt;
                                  &lt;img src="https://picsum.photos/530/350" alt=""&gt;
                              &lt;/div&gt;
                              &lt;div class="carousel-item"&gt;
                                  &lt;img src="https://picsum.photos/530/350" alt=""&gt;
                              &lt;/div&gt;
                              &lt;div class="carousel-item"&gt;
                                  &lt;img src="https://picsum.photos/530/350" alt=""&gt;
                              &lt;/div&gt;
                          &lt;/div&gt;
                      &lt;/div&gt;
                  &lt;/div&gt;
              &lt;/div&gt;
          &lt;/div&gt;
          
      &lt;/div&gt;
      &lt;script src="./script.js"&gt;&lt;/script&gt;
  &lt;/body&gt;
  &lt;/html&gt;</code></pre>
  </div>
  </div>
  </p>
  <p>However, why the distance of carousel is too far from its controls (nav, dots button, ...)?
  but when I resize the windows, it changed the distance</p>
  <p>I used Owl Carousel 2 + jQuery + Bootstrap Grid System</p>