I have found that the bash prompt is very sensitive, i.e. one PS1 string will mostly work but a slight change can have drastic consequences. For example, I formatted my prompt with:
Which looked like what I had in mind, but somethings didn't feel right such as line wrapping on large commands. I surrounded each item in straight braces [ ], to yield:
And it worked like a charm!
My point is that there are many solutions to your target. Small changes can have large impacts. I suggest trying single quotes
in your PS1 string instead of double quotes.