I am trying to center some elements vertically inside a dashed window using Bulma I tried the is-vcentered class but it did not work how I expected
Here is the code I used :
.fileupload {
background-color: #ffffff;
height: 200px;
width: 100%;
cursor: pointer;
border: 2px dashed #629ef4;
border-radius: 8px;
}
<div columns is-full>
<div
class="fileupload columns is-vcentered"
appDragDropFileUpload
(click)="fileField.click()"
(fileDropped)="upload($event)"
>
<div class="column">
<span class="icon has-text-primary">
<fa-icon [icon]="faCloudUploadAlt" size="3x"></fa-icon
></span>
<span class="ddinfo">Drag & Drop your files here </span>
<span class="ddinfo">OR </span>
<div class="file">
<input
type="file"
name="avatars"
#fileField
(change)="upload($event.target.files)"
hidden
multiple
/>
<span class="file-label is-primary"> Browse files </span>
</div>
</div>
</div>
</div>