Skip to content

Commit

Permalink
perf: unify the font color of the description in the theme settings (h…
Browse files Browse the repository at this point in the history
…alo-dev/console#430)

Signed-off-by: Ryan Wang <i@ryanc.cc>
  • Loading branch information
ruibaby authored Feb 9, 2022
1 parent 883cb40 commit a471f91
Showing 1 changed file with 7 additions and 5 deletions.
12 changes: 7 additions & 5 deletions src/views/interface/ThemeSetting.vue
Original file line number Diff line number Diff line change
Expand Up @@ -30,24 +30,26 @@
<div v-if="theme.current.id" class="card-container">
<a-tabs defaultActiveKey="0" type="card">
<a-tab-pane :key="0" tab="关于">
<a-avatar :alt="theme.current.name" :size="72" :src="theme.current.logo" shape="square" />
<a-divider />
<div v-if="theme.current.logo">
<a-avatar :alt="theme.current.name" :size="72" :src="theme.current.logo" shape="square" />
<a-divider />
</div>
<a-descriptions :column="1" layout="horizontal">
<a-descriptions-item label="作者">
<a :href="theme.current.author.website || '#'">
<a class="text-inherit" :href="theme.current.author.website || '#'">
{{ theme.current.author.name }}
</a>
</a-descriptions-item>
<a-descriptions-item label="介绍">
{{ theme.current.description || '-' }}
</a-descriptions-item>
<a-descriptions-item label="官网">
<a :href="theme.current.website || '#'">
<a class="text-inherit" :href="theme.current.website || '#'">
{{ theme.current.website || '-' }}
</a>
</a-descriptions-item>
<a-descriptions-item label="Git 仓库">
<a :href="theme.current.repo || '#'">
<a class="text-inherit" :href="theme.current.repo || '#'">
{{ theme.current.repo || '-' }}
</a>
</a-descriptions-item>
Expand Down

0 comments on commit a471f91

Please sign in to comment.