I'm currently working on an application using Vue.js and Bootstrap, and I'm trying to create a folder layout that looks like this:
https://i.sstatic.net/PFZYo.png
Unfortunately, I'm having trouble aligning the content to match the image above. The current output looks like this:
https://i.sstatic.net/oRi9r.png
Below is the code snippet I am using:
<div class="col-xl-3 col-md-6">
<stats-card>
<div slot="header" class="folderRectangle">
<div class="row">
<div class="col-3">
<div class="clearfix">
<i class="material-icons" id="folder-image">folder</i>
</div>
</div>
<div class="col-9">
<div class="clearfix" style="position: relative">
<div>
<p style="text-align: left">Folder Name</p>
</div>
<div>
<p style="text-align:left">20 files</p>
</div>
</div>
</div>
</div>
</div>
</stats-card>
</div>
Can anyone help me identify what I might be doing wrong? How can I ensure that the folder icon is aligned at the top and text floats to the center?