Hmmm. It looks fine when I test it normally, so I'm... not really sure. Tbh, I gave up on trying to make things look the way they should on journals' formatted pages lmao.
I'm a liiittle swamped atm, but I wanted to make sure you knew I saw this, so let me come back to it and see if I can figure it out; I'm fairly sure this is an IJ problem though, and not your coding (btw, your edits look so nice).