Skip to content

Commit ef1af61

Browse files
committed
Add styling and display css for the children
1 parent a9818c0 commit ef1af61

File tree

1 file changed

+23
-0
lines changed

1 file changed

+23
-0
lines changed

packages/mgt-components/src/components/mgt-file-list/mgt-file-list.scss

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,25 @@ $progress-ring-size: var(--progress-ring-size, 24px);
5858
flex-direction: column;
5959
list-style: none;
6060

61+
.file-list-children {
62+
&-show {
63+
display: block;
64+
margin-inline-start: calc($file-list-margin + 32px);
65+
66+
ul {
67+
list-style: none;
68+
69+
li {
70+
padding: 8px 0px;
71+
}
72+
}
73+
}
74+
75+
&-hide {
76+
display: none;
77+
}
78+
}
79+
6180
.file-item {
6281
cursor: pointer;
6382
border-radius: var(--file-border-radius);
@@ -77,6 +96,10 @@ $progress-ring-size: var(--progress-ring-size, 24px);
7796
--file-border-radius: 2px;
7897
--file-background-color: var(--file-item-background-color, var(--neutral-layer-1));
7998
}
99+
100+
.file-list-children {
101+
background-color: beige;
102+
}
80103
}
81104
}
82105

0 commit comments

Comments
 (0)