Skip to content

Commit c673ccf

Browse files
committed
feat(CodeReview): 添加边框线
1 parent 95315b0 commit c673ccf

File tree

1 file changed

+18
-0
lines changed

1 file changed

+18
-0
lines changed

packages/devui-vue/devui/code-review/src/code-review.scss

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -183,6 +183,10 @@
183183
content: '';
184184
}
185185

186+
.d2h-code-linenumber{
187+
border-right: 1px solid transparent;
188+
}
189+
186190
.d2h-code-line-ctn {
187191
word-break: break-all;
188192
word-wrap: break-word !important;
@@ -222,6 +226,11 @@
222226
position: static;
223227
display: table-cell;
224228
}
229+
230+
&.d-code-left:nth-of-type(1),
231+
&.d-code-right:nth-of-type(3) {
232+
border-right: 1px solid transparent;
233+
}
225234
}
226235

227236
.d2h-file-diff {
@@ -269,6 +278,15 @@
269278
background-color: #daf4ae; // 增加行中的number
270279
}
271280
}
281+
282+
&.d2h-code-linenumber{
283+
border-right: 1px solid #fe7300 !important;
284+
}
285+
286+
&.d-code-left:nth-of-type(1),
287+
&.d-code-right:nth-of-type(3) {
288+
border-right: 1px solid #fe7300 !important;
289+
}
272290
}
273291
}
274292

0 commit comments

Comments
 (0)