how to fix broken thumbnail issue bootstrap

140
March 21, 2018, at 08:18 AM

<div class="row" id="branchList">
                                        <a href="http://82.165.206.127/branch/126">
                        <div class="col-sm-12 col-md-6 col-xs-12">
                            <div class="thumbnail" data-url="http://82.165.206.127/branch/126" data-lan="90.384684" data-lat="23.7330295">
                                <div class="carousel-inner">
                                    <div class="item active">
                                        <img src="http://82.165.206.127/images/No_Image.png" alt="" class="img-responsive">
                                        <div class="branchImgCarousel">
                                                                                                13  Points
                                                                                        </div>
                                    </div>
                                </div>
                                <div class="caption">
                                        <h3>KFC</h3>
                                        <h5>Good Food</h5>
                                        <p>Sub-header food test now</p>
                                                                                        <h5>Welcome drink, we offer a free drink once customer is in</h5>

                                                                                                                                                                                                                                                            <div class="row">
                                        <br>
                                        <div class="col-md-2 col-sm-2 col-xs-2">
                                            <p class="circle"> 10.0 </p>
                                        </div>
                                        <div class="col-md-4 col-sm-4 col-xs-4">
                                            <p class="paddress">Dhaka New Market</p>
                                        </div>
                                        <div class="col-md-6 col-sm-6 col-xs-6">
                                            <ul class="list-inline tag-list-item">
                                                                                                        <li>
                                                        <img src="http://82.165.206.127/images/1521577549.png" style="padding-bottom: 5px;" class="img-responsive">
                                                    </li>
                                                                                                        <li>
                                                        <img src="http://82.165.206.127/images/1521577579.png" style="padding-bottom: 5px;" class="img-responsive">
                                                    </li>
                                                                                                </ul>
                                        </div>
                                    </div>
                                    <div>
                                        <p hidden="">1</p>
                                    </div>
                                </div>
                            </div>
                        </div>
                    </a>
                                        <a href="http://82.165.206.127/branch/123">
                        <div class="col-sm-12 col-md-6 col-xs-12">
                            <div class="thumbnail" data-url="http://82.165.206.127/branch/123" data-lan="16.374925" data-lat="48.201385">
                                <div class="carousel-inner">
                                    <div class="item active">
                                        <img src="http://82.165.206.127/images/No_Image.png" alt="" class="img-responsive">
                                        <div class="branchImgCarousel">
                                                                                                30  Points
                                                                                        </div>
                                    </div>
                                </div>
                                <div class="caption">
                                        <h3>TGI Fridays</h3>
                                        <h5>Good Food</h5>
                                        <p>Sub-header food test now</p>
                                                                                        <h5>Welcome drink, we offer a free drink once customer is in</h5>

                                                                                                                                                                                                                                                            <div class="row">
                                        <br>
                                        <div class="col-md-2 col-sm-2 col-xs-2">
                                            <p class="circle"> 5.6 </p>
                                        </div>
                                        <div class="col-md-4 col-sm-4 col-xs-4">
                                            <p class="paddress">T.G.I. Fridays</p>
                                        </div>
                                        <div class="col-md-6 col-sm-6 col-xs-6">
                                            <ul class="list-inline tag-list-item">
                                                                                                        <li>
                                                        <img src="http://82.165.206.127/images/1521577579.png" style="padding-bottom: 5px;" class="img-responsive">
                                                    </li>
                                                                                                        <li>
                                                        <img src="http://82.165.206.127/images/1521577549.png" style="padding-bottom: 5px;" class="img-responsive">
                                                    </li>
                                                                                                </ul>
                                        </div>
                                    </div>
                                    <div>
                                        <p hidden="">0</p>
                                    </div>
                                </div>
                            </div>
                        </div>
                    </a>
                                        <a href="http://82.165.206.127/branch/120">
                        <div class="col-sm-12 col-md-6 col-xs-12">
                            <div class="thumbnail" data-url="http://82.165.206.127/branch/120" data-lan="16.370483" data-lat="48.2180675">
                                <div class="carousel-inner">
                                    <div class="item active">
                                        <img src="http://82.165.206.127/images/No_Image.png" alt="" class="img-responsive">
                                        <div class="branchImgCarousel">
                                                                                                12  Points
                                                                                        </div>
                                    </div>
                                </div>
                                <div class="caption">
                                        <h3>BFC</h3>
                                        <h5>Good Food</h5>
                                        <p>Sub-header food test now</p>
                                                                                        <h5>Hello Test is going on Updated.

Now. Now try this second one.

                                                                                                                                                                                                                                                            <div class="row">
                                        <br>
                                        <div class="col-md-2 col-sm-2 col-xs-2">
                                            <p class="circle"> 5.6 </p>
                                        </div>
                                        <div class="col-md-4 col-sm-4 col-xs-4">
                                            <p class="paddress">Franz-Josefs-Kai L</p>
                                        </div>
                                        <div class="col-md-6 col-sm-6 col-xs-6">
                                            <ul class="list-inline tag-list-item">
                                                                                                        <li>
                                                        <img src="http://82.165.206.127/images/1521577549.png" style="padding-bottom: 5px;" class="img-responsive">
                                                    </li>
                                                                                                        <li>
                                                        <img src="http://82.165.206.127/images/1521577865.png" style="padding-bottom: 5px;" class="img-responsive">
                                                    </li>
                                                                                                </ul>
                                        </div>
                                    </div>
                                    <div>
                                        <p hidden="">0</p>
                                    </div>
                                </div>
                            </div>
                        </div>
                    </a>
                                        <a href="http://82.165.206.127/branch/124">
                        <div class="col-sm-12 col-md-6 col-xs-12">
                            <div class="thumbnail" data-url="http://82.165.206.127/branch/124" data-lan="16.443703" data-lat="48.250524">
                                <div class="carousel-inner">
                                    <div class="item active">
                                        <img src="http://82.165.206.127/images/No_Image.png" alt="" class="img-responsive">
                                        <div class="branchImgCarousel">
                                                                                                50  Points
                                                                                        </div>
                                    </div>
                                </div>
                                <div class="caption">
                                        <h3>City Pizza</h3>
                                        <h5>Header test</h5>
                                        <p>Sub-header test </p>
                                                                                        <h5>5 % discount on the end bill</h5>

                                                                                                                                                                                                                                                            <div class="row">
                                        <br>
                                        <div class="col-md-2 col-sm-2 col-xs-2">
                                            <p class="circle"> 5.6 </p>
                                        </div>
                                        <div class="col-md-4 col-sm-4 col-xs-4">
                                            <p class="paddress">Kagraner Platz</p>
                                        </div>
                                        <div class="col-md-6 col-sm-6 col-xs-6">
                                            <ul class="list-inline tag-list-item">
                                                                                                        <li>
                                                        <img src="http://82.165.206.127/images/1521577549.png" style="padding-bottom: 5px;" class="img-responsive">
                                                    </li>
                                                                                                        <li>
                                                        <img src="http://82.165.206.127/images/1521577909.png" style="padding-bottom: 5px;" class="img-responsive">
                                                    </li>
                                                                                                </ul>
                                        </div>
                                    </div>
                                    <div>
                                        <p hidden="">0</p>
                                    </div>
                                </div>
                            </div>
                        </div>
                    </a>
                                        <a href="http://82.165.206.127/branch/136">
                        <div class="col-sm-12 col-md-6 col-xs-12">
                            <div class="thumbnail" data-url="http://82.165.206.127/branch/136" data-lan="76.3234037" data-lat="32.219042">
                                <div class="carousel-inner">
                                    <div class="item active">
                                        <img src="http://82.165.206.127/images/No_Image.png" alt="" class="img-responsive">
                                        <div class="branchImgCarousel">
                                                                                                250  Points
                                                                                        </div>
                                    </div>
                                </div>
                                <div class="caption">
                                        <h3>Mtest</h3>
                                        <h5>Good Food</h5>
                                        <p>Sub-header food test now</p>

                                                                                                                                                                                                                                                            <div class="row">
                                        <br>
                                        <div class="col-md-2 col-sm-2 col-xs-2">
                                            <p class="circle"> 8.7 </p>
                                        </div>
                                        <div class="col-md-4 col-sm-4 col-xs-4">
                                            <p class="paddress">Dharamshala</p>
                                        </div>
                                        <div class="col-md-6 col-sm-6 col-xs-6">
                                            <ul class="list-inline tag-list-item">
                                                                                                        <li>
                                                        <img src="http://82.165.206.127/images/1521577865.png" style="padding-bottom: 5px;" class="img-responsive">
                                                    </li>
                                                                                                </ul>
                                        </div>
                                    </div>
                                    <div>
                                        <p hidden="">0</p>
                                    </div>
                                </div>
                            </div>
                        </div>
                    </a>
                                </div>

Im trying to make a thumbnail gallery,every thing going if there is same number of data css work fine.but if any of the thumbnail is uneven data css got broken (as shown in the screenshot).

the bottom thumbnail should be on the left.but css is broken thats why it on the right side.

How to fix it

READ ALSO
Unable to inline styles with `sass-loader`

Unable to inline styles with `sass-loader`

I have a project setup where I use ExtractTextPlugin to create a CSS fileI'm trying to create a dev Webpack config with the styles injected onto the page using style-loader, css-loader, and sass-loader

184
circular div inner shadow on bottom

circular div inner shadow on bottom

I want to have inner shadow on bottom semicircle of my circular div but shadow seems moving on wrong edges

179
Sending Email from SharePoint via PowerShell - Mysterious Question Marks

Sending Email from SharePoint via PowerShell - Mysterious Question Marks

I have been searching all day for an answer to thisMy PowerShell script reads from a SharePoint list, creates an HTML email, then sends it to everyone in the company

143
How to make ReactPlayer scale with height and width

How to make ReactPlayer scale with height and width

I am using reactplayer for a youtube video which uses iframeI am trying to scale the video to my div and I want it to be responsive

520