diff options
author | Kerwin Bryant <kerwin612@qq.com> | 2025-04-10 09:10:16 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-04-09 18:10:16 -0700 |
commit | 02e49a0f471fcd50e70835458d196615f03c39cc (patch) | |
tree | 2c60bf0a60bfc078cbd049ebf089ab394e828293 /web_src/js/components/RepoRecentCommits.vue | |
parent | fac6b87dd24be5021d9c656edc2072397cfd6bed (diff) | |
download | gitea-02e49a0f471fcd50e70835458d196615f03c39cc.tar.gz gitea-02e49a0f471fcd50e70835458d196615f03c39cc.zip |
Fix vertical centering of file tree icons and use entryIcon for submodules/symlinks (#34137)
In the file tree, the icons are not vertically centered, which affects
the overall visual consistency.
Currently, the icons of submodules and symlinks do not adopt the value
of entryIcon, resulting in inconsistent icon display.
before:

after:

---------
Co-authored-by: silverwind <me@silverwind.io>
Diffstat (limited to 'web_src/js/components/RepoRecentCommits.vue')
-rw-r--r-- | web_src/js/components/RepoRecentCommits.vue | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/web_src/js/components/RepoRecentCommits.vue b/web_src/js/components/RepoRecentCommits.vue index 10e1fdd70c..1b3d8fd459 100644 --- a/web_src/js/components/RepoRecentCommits.vue +++ b/web_src/js/components/RepoRecentCommits.vue @@ -128,7 +128,7 @@ const options: ChartOptions<'bar'> = { <div class="tw-flex ui segment main-graph"> <div v-if="isLoading || errorText !== ''" class="gt-tc tw-m-auto"> <div v-if="isLoading"> - <SvgIcon name="octicon-sync" class="tw-mr-2 job-status-rotate"/> + <SvgIcon name="octicon-sync" class="tw-mr-2 circular-spin"/> {{ locale.loadingInfo }} </div> <div v-else class="text red"> |