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:
https://i.sstatic.net/REyzo.png
On other laptops:
https://i.sstatic.net/Nqw4r.png
CSS:
input[type=file]::-webkit-file-upload-button {
cursor: pointer;
margin-bottom: 2px;
}