Skip to content

Commit

Permalink
feat(CodeReview): 优化边框线
Browse files Browse the repository at this point in the history
  • Loading branch information
GreatZPP committed Nov 24, 2024
1 parent 152107b commit fb395db
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions packages/devui-vue/devui/code-review/src/code-review.scss
Original file line number Diff line number Diff line change
Expand Up @@ -183,8 +183,8 @@
content: '';
}

.d2h-code-linenumber{
border-right: 1px solid transparent;
.d2h-code-linenumber {
border-right: 2px solid transparent;
}

.d2h-code-line-ctn {
Expand Down Expand Up @@ -227,9 +227,9 @@
display: table-cell;
}

&.d-code-left:nth-of-type(1),
&.d-code-right:nth-of-type(3) {
border-right: 1px solid transparent;
.d-code-left:nth-of-type(2) > .d2h-code-side-line,
.d-code-right:nth-of-type(4) > .d2h-code-side-line {
border-left: 2px solid transparent;
}
}

Expand Down Expand Up @@ -279,13 +279,13 @@
}
}

&.d2h-code-linenumber{
border-right: 1px solid #fe7300 !important;
&.d2h-code-linenumber {
border-right: 2px solid #fe7300;
}

&.d-code-left:nth-of-type(1),
&.d-code-right:nth-of-type(3) {
border-right: 1px solid #fe7300 !important;
&.d-code-left:nth-of-type(2) > .d2h-code-side-line,
&.d-code-right:nth-of-type(4) > .d2h-code-side-line {
border-left: 2px solid #fe7300;
}
}
}
Expand Down

0 comments on commit fb395db

Please sign in to comment.