JSFiddle - React, Tailwind, and code Playground
HTML
<div class="items">
<h4>Section 1</h4>
<div class="container">
<span class="item">
<a class="cell" href="#">
<img src="http://placehold.it/140x100"/>
<p>lorem ipsum lorem ipsum lorem</p>
</a>
</span>
<span class="item">
<a href="#">
<img src="http://placehold.it/150x100"/>
<p>Item Name lorem ipsum lorem ipsum</p>
</a>
</span>
<span class="item">
<a href="#">
<img src="http://placehold.it/140x100"/>
<p>Item Name lorem ipsum lorem ipsum</p>
</a>
</span>
<span class="item">
<a href="#">
<img src="http://placehold.it/160x100"/>
<p>Item Name lorem ipsum lorem ipsum</p>
</a>
</span>
<span class="item">
<a href="#">
<img src="http://placehold.it/130x100"/>
<p>Item Name lorem ipsum lorem ipsum</p>
</a>
</span>
</div>
</div>
CSS
* { text-decoration:none; }
div.items div{
width: 100%;
overflow-x: scroll;
overflow-y: hidden;
white-space: nowrap;
}
.container {
white-space:nowrap;
}
.item {
width: 1%;
display: inline-table;
padding:0px 15px;
}
a {
height: auto;
overflow: hidden;
text-decoration:none;
white-space:normal;
}