fixes filetree styles to support directories as the last item

This commit is contained in:
Robert Messerle 2015-12-15 11:41:24 -08:00 committed by Naomi Black
parent a4c06fc43c
commit 1c301160d0
1 changed files with 7 additions and 14 deletions

View File

@ -10,27 +10,20 @@
.children {
padding-left: 24px;
position: relative;
&:before {
content: '';
left: 6px;
width: 2px;
background: $grey;
bottom: 16px;
top: 0;
position: absolute;
transform: scaleX(0.75);
}
overflow: hidden;
.file {
position: relative;
&:before {
content: '';
left: -18px;
top: 16px;
bottom: 16px;
width: 12px;
height: 2px;
background: $grey;
height: 9999px;
position: absolute;
transform: scaleY(0.75);
border-width: 0 0 2px 2px;
border-style: solid;
border-color: #bccad1;
border-radius: 0 0 0 3px;
}
}
}