Prevent placeholder from wrapping, fixes #17881.
Tried text-overflow:ellipsis too but it didn't work for some reason.