Browse Source

无JIRA fix: 背景色不能遮住线,改为:after

es6
zsmj 2 years ago
parent
commit
6a13b43bec
  1. 18
      src/less/base/tree/tree.expander.less

18
src/less/base/tree/tree.expander.less

@ -3,40 +3,34 @@
.bi-tree-expander-popup.line { .bi-tree-expander-popup.line {
&:before { &:after {
border-left: 1px dashed @border-color-dark-gray-line; border-left: 1px dashed @border-color-dark-gray-line;
position: absolute; position: absolute;
content: ""; content: "";
height: 100%; height: 100%;
left: -1px; left: -1px;
top: 0;
} }
&.solid:before { &.solid:after {
border-left: 1px solid @border-color-dark-gray-line; border-left: 1px solid @border-color-dark-gray-line;
position: absolute;
content: "";
height: 100%;
left: -1px;
} }
} }
.bi-theme-dark { .bi-theme-dark {
.bi-tree-expander-popup.line { .bi-tree-expander-popup.line {
&:before { &:after {
border-left: 1px dashed @border-color-dark-gray-line-theme-dark; border-left: 1px dashed @border-color-dark-gray-line-theme-dark;
position: absolute; position: absolute;
content: ""; content: "";
height: 100%; height: 100%;
left: -1px; left: -1px;
top: 0;
} }
&.solid:before { &.solid:after {
border-left: 1px solid @border-color-dark-gray-line-theme-dark; border-left: 1px solid @border-color-dark-gray-line-theme-dark;
position: absolute;
content: "";
height: 100%;
left: -1px;
} }
} }
} }

Loading…
Cancel
Save