-
Notifications
You must be signed in to change notification settings - Fork 336
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
fix: Indentation in Comment Replies #10869
base: master
Are you sure you want to change the base?
fix: Indentation in Comment Replies #10869
Conversation
62ea1a6
to
4be4445
Compare
4be4445
to
f5622b5
Compare
Thanks for the PR! @ackernaut is this looking right? IMO maybe we can move the reply-line avatars to the left about 28px to get another word in? I couldn't find the original spec in figma, so i'll let you make the call |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hello! Thanks for looking at this. I don’t think the changes in the initial commit are the right idea, or what we need.
There is simply a parent div to the .ProseMirror
div that has a tailwind class px-4
. I think this was borrowed from the task cards, which do need inner padding. The comments do not.
I think the fix is to simply remove the .px-4
class, just 1 LOC. We’d need to check that it is not some global container shared with the task cards, because those do need the inner padding.
I’m also not sure we need the .min-h-10
but I’d have to check other places.
See screenshots for the markup.
I see, I will revisit the changes I had proposed. |
Ah, good find @iamsmruti that it affects a lot of places. I wonder if there is a way to account for this in the thread* component using the editor. Or we should not add the padding to the global editor component, and apply the appropriate inner padding as needed at each specific component, that might have us touch half a dozen components or so. I’m happy to look more a little later. |
Description
Fixes/Partially Fixes #10776
I had to change some styling in a few components
Demo
Final checklist