Add change summaries, inline diff hunks and screenshots to reviews
This commit is contained in:
@@ -1721,6 +1721,65 @@ pre.file-text .line::before {
|
||||
margin-top: 4px;
|
||||
}
|
||||
|
||||
.review-change {
|
||||
margin: 8px 0;
|
||||
padding-bottom: 8px;
|
||||
border-bottom: 1px solid var(--border);
|
||||
}
|
||||
|
||||
.finding-diff {
|
||||
margin-top: 6px;
|
||||
border: 1px solid var(--border);
|
||||
border-radius: 6px;
|
||||
overflow-x: auto;
|
||||
background: var(--bg);
|
||||
}
|
||||
|
||||
.finding-diff .hint {
|
||||
padding: 4px 10px;
|
||||
color: var(--muted);
|
||||
font-size: 11px;
|
||||
}
|
||||
|
||||
pre.diff .lineno {
|
||||
display: inline-block;
|
||||
min-width: 4ch;
|
||||
margin-right: 8px;
|
||||
text-align: right;
|
||||
color: var(--muted);
|
||||
user-select: none;
|
||||
}
|
||||
|
||||
pre.diff .mark {
|
||||
box-shadow: inset 3px 0 0 var(--accent);
|
||||
}
|
||||
|
||||
.review-images {
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
gap: 10px;
|
||||
margin: 8px 0;
|
||||
}
|
||||
|
||||
.review-images figure {
|
||||
margin: 0;
|
||||
max-width: 100%;
|
||||
}
|
||||
|
||||
.review-images img {
|
||||
display: block;
|
||||
max-width: 100%;
|
||||
max-height: 360px;
|
||||
border: 1px solid var(--border);
|
||||
border-radius: 6px;
|
||||
}
|
||||
|
||||
.review-images figcaption {
|
||||
margin-top: 2px;
|
||||
font-size: 11px;
|
||||
color: var(--muted);
|
||||
}
|
||||
|
||||
.finding-fix {
|
||||
margin-left: auto;
|
||||
padding: 0 8px;
|
||||
|
||||
Reference in New Issue
Block a user