Fix issue where the flexible input style breaks when used with .input-pretty