Welcome to Codidact Meta!
Codidact Meta is the meta-discussion site for the Codidact community network and the Codidact software. Whether you have bug reports or feature requests, support questions or rule discussions that touch the whole network – this is the site for you.
Expanding a comment thread changes the width of some posts
When a comment thread is expanded, the width of the post it is attached to in some cases increases. This seems to be rare (most posts do not change width when their comment threads are expanded), so I am only raising this for reference in case investigating it highlights something that needs to be fixed.
I would consider this very low priority.
An example of a question which shows effects on both paragraph layout and image size:
Before opening a comment thread
After opening a comment thread
The user card shifts to the right accordingly.
The paragraphs change their word wrapping, with some words jumping up onto a previous line. Note the inconsistent placement of the word "inconsistency" in the 4th paragraph up from the bottom of the post. This can also cause the height of the post to decrease if the word wrapping now requires fewer lines.
Wide images are displayed at post width, so they also get a little wider when a comment thread is expanded. Since they are displayed at a fixed aspect ratio, this also makes them a little taller.
These two effects both cause the height of the post to change, so if either of them is triggered by the width change then this causes the page to jump vertically by a small amount when a comment thread is expanded.
1 comment thread