File tree 2 files changed +9
-8
lines changed
2 files changed +9
-8
lines changed Original file line number Diff line number Diff line change @@ -48,7 +48,7 @@ export class DaffTreeItemDirective {
48
48
*
49
49
* @docs -private
50
50
*/
51
- @HostBinding ( 'class.daff-tree-item__parent ' ) classParent = false ;
51
+ @HostBinding ( 'class.parent ' ) classParent = false ;
52
52
53
53
/**
54
54
* The html `id` of the tree item. This is derived from the {@link DaffTreeData}.
Original file line number Diff line number Diff line change 9
9
margin : 0 ;
10
10
padding : 0 ;
11
11
list-style : none ;
12
- --tree-padding : 16 px ;
12
+ --tree-padding : 1 rem ;
13
13
14
14
li .hidden {
15
15
display : none ;
23
23
position : relative ;
24
24
background : none ;
25
25
border : 0 ;
26
- padding : 8 px 16 px 8 px 0 ;
26
+ padding : 0.5 rem 1 rem 0.5 rem 0 ;
27
27
line-height : 1.5rem ;
28
28
font-weight : 400 ;
29
29
text-align : left ;
37
37
top : 0 ;
38
38
bottom : 0 ;
39
39
left : 0 ;
40
- width : 4 px ;
40
+ width : 0.25 rem ;
41
41
}
42
42
43
43
& :focus ,
49
49
font-weight : 600 ;
50
50
}
51
51
52
- & __parent {
52
+ & .parent {
53
53
position : relative ;
54
+ padding-right : 2.5rem ;
54
55
55
56
& ::after {
56
57
content : ' ' ;
57
58
position : absolute ;
58
59
top : 48% ;
59
- right : 16 px ;
60
+ right : 1 rem ;
60
61
display : inline-block ;
61
62
border-right : 2px solid currentColor ;
62
63
border-bottom : 2px solid currentColor ;
63
- width : 8 px ;
64
- height : 8 px ;
64
+ width : 0.5 rem ;
65
+ height : 0.5 rem ;
65
66
transform : translateY (-50% ) rotate (45deg );
66
67
transition : transform 150ms ;
67
68
}
You can’t perform that action at this time.
0 commit comments