Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

remove unnecessary padding from the right hand side of the post in threaded mode #3645

Merged
merged 1 commit into from
Apr 22, 2024

Conversation

haileyok
Copy link
Contributor

Why

Noticed over the weekend while testing that there's some strange padding on the right hand side of the post in threaded mode which makes photos or other embeds look skewed in the thread.

This should be safe, because we still have other padding that prevents the content from reaching the side of the screen:

Screenshot 2024-04-22 at 9 16 12 AM
Screenshot 2024-04-22 at 9 16 18 AM

Test Plan

Open a post in threaded mode that has some embeds before and after to see the difference in alignment.

Before

Screenshot 2024-04-22 at 9 11 59 AM

After

Screenshot 2024-04-22 at 9 12 16 AM

Copy link

render bot commented Apr 22, 2024

Copy link

Old size New size Diff
6.44 MB 6.44 MB -16 B (-0.00%)

@haileyok
Copy link
Contributor Author

Screenshot 2024-04-22 at 9 25 20 AM

This looks fine on web as well.

Copy link
Collaborator

@gaearon gaearon left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yea that looks better, thanks

@gaearon gaearon merged commit 551e333 into main Apr 22, 2024
6 checks passed
@gaearon gaearon deleted the hailey/threaded-padding branch April 22, 2024 20:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants