When implementing the file input in my code on a Mac, I noticed that the alignment appears off. On all other devices, it looks just fine. However, when I try to apply a style specifically to the 'Choose file' button, the style also gets applied to the text 'No file chosen.'
On a Mac:
On other laptops:
CSS:
input[type=file]::-webkit-file-upload-button {
cursor: pointer;
margin-bottom: 2px;
}