Skip to content

Commit ba5e684

Browse files
Copilotalexr00
andcommitted
Fix missing bottom border on comment info headers
Changed CSS selector from :not(:nth-last-child(2)) to :not(.no-details) to properly add border-bottom to comment headers that have content below them. The previous position-based selector failed when the header was the second-to-last child. Co-authored-by: alexr00 <[email protected]>
1 parent bceaebb commit ba5e684

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

webviews/editorWebview/index.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -155,7 +155,7 @@ body .comment-container.review {
155155
position: relative;
156156
}
157157

158-
body #main>.comment-container>.review-comment-container>.review-comment-header:not(:nth-last-child(2)) {
158+
body #main>.comment-container>.review-comment-container>.review-comment-header:not(.no-details) {
159159
border-bottom: 1px solid var(--vscode-editorHoverWidget-border);
160160
}
161161

0 commit comments

Comments
 (0)