Created by: MartijnCuppens
Closes https://github.com/twbs/bootstrap/pull/28497
Alternative approach which doesn't depend on the width of the browse button. This solution is also compatible with the non-.text-truncate
custom input, the text just gets cut off in that case.