Skip to content

Commit

Permalink
fix: fix basis and tag margin
Browse files Browse the repository at this point in the history
  • Loading branch information
StarHeartHunt committed Aug 21, 2023
1 parent 94c03a4 commit 69200fe
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/views/PluginPage.vue
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ function pickTextColor(bgColor: string): string {
<n-tabs animated>
<n-tab-pane name="overview" tab="总览">
<div class="flex flex-col-reverse xl:flex-row justify-between">
<div class="xl:basis-2/3 xl:max-w-2/3">
<div class="xl:basis-3/4 xl:max-w-3/4">
<n-p>
<n-h3>验证结果</n-h3>
<pre class="overflow-auto font-mono">{{
Expand All @@ -77,15 +77,15 @@ function pickTextColor(bgColor: string): string {
<Load :result="result" />
</n-p>
</div>
<div class="pb-4 xl:ml-4 xl:basis-1/3 xl:max-w-1/3">
<div class="pb-4 xl:ml-4 xl:basis-1/4 xl:max-w-1/4">
<n-h3>插件信息</n-h3>
<n-p> 作者:<Author :author="plugin.author" /> </n-p>
<n-p> 描述:{{ plugin.desc }} </n-p>
<n-p>
标签:<n-tag
v-for="(tag, index) in plugin.tags"
:key="index"
class="mr-1"
class="mr-1 mb-1"
:color="{
color: tag.color,
textColor: pickTextColor(tag.color),
Expand Down

0 comments on commit 69200fe

Please sign in to comment.