@@ -58,7 +58,8 @@ const doGotoSubModule = () => {
58
58
>
59
59
<!-- submodule -->
60
60
<div class="item-content">
61
- <SvgIcon class="text primary" name="octicon-file-submodule"/>
61
+ <!-- eslint-disable-next-line vue/no-v-html -->
62
+ <span class="tw-contents" v-html="item.entryIcon"/>
62
63
<span class="gt-ellipsis tw-flex-1">{{ item.entryName }}</span>
63
64
</div>
64
65
</div>
@@ -70,7 +71,8 @@ const doGotoSubModule = () => {
70
71
>
71
72
<!-- symlink -->
72
73
<div class="item-content">
73
- <SvgIcon name="octicon-file-symlink-file"/>
74
+ <!-- eslint-disable-next-line vue/no-v-html -->
75
+ <span class="tw-contents" v-html="item.entryIcon"/>
74
76
<span class="gt-ellipsis tw-flex-1">{{ item.entryName }}</span>
75
77
</div>
76
78
</div>
@@ -83,7 +85,7 @@ const doGotoSubModule = () => {
83
85
<!-- file -->
84
86
<div class="item-content">
85
87
<!-- eslint-disable-next-line vue/no-v-html -->
86
- <span v-html="item.entryIcon"/>
88
+ <span class="tw-contents" v-html="item.entryIcon"/>
87
89
<span class="gt-ellipsis tw-flex-1">{{ item.entryName }}</span>
88
90
</div>
89
91
</div>
@@ -95,13 +97,12 @@ const doGotoSubModule = () => {
95
97
>
96
98
<!-- directory -->
97
99
<div class="item-toggle">
98
- <!-- FIXME: use a general and global class for this animation -->
99
- <SvgIcon v-if="isLoading" name="octicon-sync" class="job-status-rotate"/>
100
+ <SvgIcon v-if="isLoading" name="octicon-sync" class="circular-spin"/>
100
101
<SvgIcon v-else :name="collapsed ? 'octicon-chevron-right' : 'octicon-chevron-down'" @click.stop="doLoadChildren"/>
101
102
</div>
102
103
<div class="item-content">
103
104
<!-- eslint-disable-next-line vue/no-v-html -->
104
- <span class="text primary " v-html="(!collapsed && item.entryIconOpen) ? item.entryIconOpen : item.entryIcon"/>
105
+ <span class="tw-contents " v-html="(!collapsed && item.entryIconOpen) ? item.entryIconOpen : item.entryIcon"/>
105
106
<span class="gt-ellipsis">{{ item.entryName }}</span>
106
107
</div>
107
108
</div>
@@ -154,7 +155,7 @@ const doGotoSubModule = () => {
154
155
grid-area: content;
155
156
display: flex;
156
157
align-items: center;
157
- gap: 0.25em ;
158
+ gap: 0.5em ;
158
159
text-overflow: ellipsis;
159
160
min-width: 0;
160
161
}
0 commit comments