Skip to content

Commit 1b726dd

Browse files
authored
Pull request details page - border border radius is missing on the reviewer's box (#6687)
Fixes #6682
1 parent 06790c3 commit 1b726dd

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

webviews/components/comment.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -154,7 +154,7 @@ function CommentBox({ for: comment, onFocus, onMouseEnter, onMouseLeave, childre
154154
return (
155155
<div className="comment-container comment review-comment" {...{ onFocus, onMouseEnter, onMouseLeave }}>
156156
<div className="review-comment-container">
157-
<h3 className="review-comment-header">
157+
<h3 className={`review-comment-header${(isReviewEvent(comment) && comment.comments.length > 0) ? '' : ' no-details'}`}>
158158
<Spaced>
159159
<Avatar for={author} />
160160
<AuthorLink for={author} />

webviews/editorWebview/index.css

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -152,6 +152,11 @@ body .comment-container .review-comment-header {
152152
white-space: nowrap;
153153
}
154154

155+
.review-comment-header.no-details {
156+
border-bottom-left-radius: 3px;
157+
border-bottom-right-radius: 3px;
158+
}
159+
155160
.description-header {
156161
float: right;
157162
height: 32px;

0 commit comments

Comments
 (0)