fixes filetree styles to support directories as the last item
This commit is contained in:
parent
a4c06fc43c
commit
1c301160d0
@ -10,27 +10,20 @@
|
|||||||
.children {
|
.children {
|
||||||
padding-left: 24px;
|
padding-left: 24px;
|
||||||
position: relative;
|
position: relative;
|
||||||
&:before {
|
overflow: hidden;
|
||||||
content: '';
|
|
||||||
left: 6px;
|
|
||||||
width: 2px;
|
|
||||||
background: $grey;
|
|
||||||
bottom: 16px;
|
|
||||||
top: 0;
|
|
||||||
position: absolute;
|
|
||||||
transform: scaleX(0.75);
|
|
||||||
}
|
|
||||||
.file {
|
.file {
|
||||||
position: relative;
|
position: relative;
|
||||||
&:before {
|
&:before {
|
||||||
content: '';
|
content: '';
|
||||||
left: -18px;
|
left: -18px;
|
||||||
top: 16px;
|
bottom: 16px;
|
||||||
width: 12px;
|
width: 12px;
|
||||||
height: 2px;
|
height: 9999px;
|
||||||
background: $grey;
|
|
||||||
position: absolute;
|
position: absolute;
|
||||||
transform: scaleY(0.75);
|
border-width: 0 0 2px 2px;
|
||||||
|
border-style: solid;
|
||||||
|
border-color: #bccad1;
|
||||||
|
border-radius: 0 0 0 3px;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user