JSFiddle - React, Tailwind, and code Playground

HTML

<div id="ja-footerwrap">
    <div class="moduletable">
        <div class="bottom-slider">
            <!--some contents-->
        </div>
    </div>
    <div class="moduletable">
        <div class="bottom-slider">
            <!--some contents-->
        </div>
    </div>
    <div class="moduletable">

            <!--some contents-->

    </div>
<!--and other divs with classes moduletable------>
</div>

CSS

.moduletable {
    border: 1px solid black;
    width: 100px;
    height: 100px;
}

JavaScript

$('.bottom-slider').parent('.moduletable').css({'display':'inline-block'});