Skip to content

Commit 76baf6f

Browse files
committed
[Site] Update file tree icons
1 parent 2e6a24c commit 76baf6f

File tree

3 files changed

+6
-3
lines changed

3 files changed

+6
-3
lines changed

ux.symfony.com/assets/icons/file.svg

Lines changed: 3 additions & 0 deletions
Loading

ux.symfony.com/assets/styles/components/_FileTree.scss

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,8 @@
88
.FileTree li > span {
99
display: flex;
1010
flex-direction: row;
11-
gap: 1rem;
11+
align-items: center;
12+
gap: .75rem;
1213
}
1314

1415
.FileTree-main::before {
@@ -44,4 +45,3 @@
4445
left: 0;
4546
z-index: -1;
4647
}
47-

ux.symfony.com/templates/main/_file_tree.html.twig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
{% else %}
2222
<li class="FileTree-main FileTree-file">
2323
<span {{- _self.summaryAttributes(file_info.description) -}}>
24-
<twig:Icon name="folder" class="d-inline-block m-0 mr-2" />
24+
<twig:Icon name="file" class="d-inline-block m-0 mr-2" />
2525
{{ file_info.filename }}
2626
</span>
2727
</li>

0 commit comments

Comments
 (0)