Merge pull request #368 from alisaweb3/v3-single

uptime style change
This commit is contained in:
ping 2023-04-30 10:10:28 +08:00 committed by GitHub
commit 5fdb5eb2bc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -54,9 +54,17 @@ onMounted(() => {
<template>
<div>
<VRow>
<VCol cols="12" md="4">Current Height: {{latest.block?.header?.height}} </VCol>
<VCol cols="12" md="8"><VTextField v-model="keyword" label="Keywords to filter validators" /></VCol>
<VCol cols="12" md="4" >
<VCard class="h-full self-center d-flex p-4">
<div class="self-center">Current Height: {{latest.block?.header?.height}} </div>
</VCard>
</VCol>
<VCol cols="12" md="8" class="">
<VTextField v-model="keyword" label="Keywords to filter validators" variant="outlined"/>
</VCol>
</VRow>
<VRow>
<VCol v-for="(v, i) in validators" cols="12" md="3" xl="2" class="py-1">
<div class="d-flex justify-between">
@ -66,7 +74,7 @@ onMounted(() => {
</div>
<UptimeBar :blocks="commits" :validator="toBase64(fromHex(consensusPubkeyToHexAddress(v.consensus_pubkey)))" />
</VCol>
</VRow>
</VRow>
</div>
</template>
<route>
@ -76,3 +84,9 @@ onMounted(() => {
}
}
</route>
<style lang="scss">
.v-field--variant-outlined .v-field__outline__notch{
border-width: 0 !important;
}
</style>