The flex column I created is having an issue with the arrow on the right side. It's not displaying properly and is hidden. The arrow should be similar to the one on the left and point to the left direction.
I have used left: 0;
for the left side and right: 0;
for the right side, but for some reason, the right side arrow is not functioning correctly.
For more details, you can view the code snippet and example on https://jsfiddle.net/wa04ytLn/2/
.row {
background: #f8f9fa;
margin: 50px 0 0 0;
}
.col {
border: solid 1px #6c757d;
padding-top: 200px;
}
#arleft {
width: 5px;
position: absolute;
top: 0;
left: 0;
background: red;
height: 100%;
cursor: pointer;
}
#arright {
width: 5px;
position: absolute;
top: 0;
right: 0;
background: red;
height: 100%;
cursor: pointer;
}
<link href="https://stackpath.bootstrapcdn.com/bootstrap/4.4.1/css/bootstrap.min.css" rel="stylesheet"/>
<div class="row">
<div id="cleft" class="col-3 col-xs-12 bg-info">
collapse left
</div>
<div id="cmid" class="col col-xs-12">
<div class="d-none d-md-flex" id="arleft">
<i class="fa fa-arrow-right" aria-hidden="true"></i>
</div>
<div class="d-none d-md-flex" id="arright">
<i class="fa fa-arrow-left" aria-hidden="true"></i>
</div>
</div>
<div id="cright" class="col-3 col-xs-12 bg-info">
collapse right
</div>
</div>