Context: I have a page where each line of text is a div. There are certain sets of line blocks that can be collapsed. When they are collapsed or expanded while viewing uncollapsed lines, what the user was viewing remains the same.
However, the problem is that even though everything is centered and perfect, the text moves in a strange way, as you can see in the video. I think it's a browser or rounding issue (I'm using Chrome, btw). I've been trying for several hours to solve this, but I can't find a solution. Can anyone tell me if they've experienced something similar or if it's a browser bug?
I also have noticed that this happens a lot if the resolution or scale of the page changes