improve layout

This commit is contained in:
liangping 2022-04-23 09:04:47 +08:00
parent ba3a9d56d4
commit 4795a690a0
2 changed files with 2 additions and 34 deletions

View File

@ -50,7 +50,7 @@
{{ p.title }}
</router-link></b-card-title>
<b-card-body md="12">
<div class="gov-wrapper d-flex flex-nowrap">
<div class="gov-wrapper flex-wrap">
<div class="gov">
<p class="card-text mb-25">
Type

View File

@ -23,45 +23,13 @@
/>
<span class="text-uppercase"> {{ p.chain.chain_name }}</span>
#{{ p.id }}.
<b-badge
v-if="p.status == 1"
pill
variant="light-info"
class="text-right"
>
Deposit
</b-badge>
<b-badge
v-if="p.status == 2"
pill
variant="light-primary"
class="text-right"
>
Voting
</b-badge>
<b-badge
v-if="p.status == 3"
pill
variant="light-success"
class="text-right"
>
Passed
</b-badge>
<b-badge
v-if="p.status == 4"
pill
variant="light-danger"
class="text-right"
>
Rejected
</b-badge>
<router-link
:to="`/${p.chain.chain_name}/gov/${p.id}?from=/wallet/votes`"
>
{{ p.title }}
</router-link></b-card-title>
<b-card-body md="12">
<div class="gov-wrapper d-flex">
<div class="gov-wrapper d-flex flex-wrap">
<div class="gov">
<p class="card-text mb-25">
Type