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.
Post History
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), s...
#2: Post edited
Expanding a comment thread changes the width of a post
- Expanding a comment thread changes the width of some posts
#1: Initial revision
Expanding a comment thread changes the width of a post
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: - [Although div tag is not allowed, it's rendered in the preview](https://meta.codidact.com/posts/284503) ## Before opening a comment thread > ![The content of the question before expanding a comment thread](https://meta.codidact.com/uploads/fa0cwi37sa9ejsuvirh6ydunowie) ## After opening a comment thread > ![The content of the question after expanding a comment thread](https://meta.codidact.com/uploads/cji1mcrxckoz17g9wjrlip6bna33) 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.