-
-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
Extend clean-conversations
to new comment forms
#5315
Conversation
clean-conversations
: enable on conversationsclean-conversations
to new comment forms
display: none; | ||
} | ||
|
||
.review-thread-reply .review-thread-reply-button { | ||
margin-left: 0; | ||
} | ||
|
||
/* Hide arrow on new comment form */ | ||
.timeline-comment--caret::before, |
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.
Does this really only target the form? The selector is generic
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.
Good catch, this was done in a hurry in my previous lint PR 😅
/* Remove user avatar from new comment form on threads */ | ||
.review-thread-reply .avatar { | ||
display: none; | ||
} | ||
|
||
.review-thread-reply .review-thread-reply-button { | ||
margin-left: 0; | ||
} | ||
|
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.
Apparently forgotten in f099d37
(#1986)
/* Remove user avatar from new comment form on threads */ | ||
.review-thread-reply .avatar { | ||
/* Remove user avatar from new comment form */ | ||
:is(.review-thread-reply, .timeline-new-comment) .avatar { |
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.
- Despite the name,
.review-thread-reply
is also used in Discussions thread reply (could it be that they are review comments in disguise? 🤔) .timeline-new-comment
works on both conversations and commits page
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.
Untested but LGTM
Cherry-picked from
84c9dc1
(#5113)Mentioned in #1066
Test URLs
Screenshot