forked from LaconicNetwork/cosmos-explorer
feature: proposal item dark theme
This commit is contained in:
@@ -51,7 +51,7 @@ const statusMap: Record<string, string> = {
|
||||
<div class="text-xs">{{ statusMap?.[item?.status] || item?.status }}</div>
|
||||
</div>
|
||||
|
||||
<div class="truncate mb-3 col-span-2 md:col-span-1 text-right md:flex md:justify-start">
|
||||
<div class="truncate mb-3 col-span-2 md:col-span-1 text-xs text-gray-400 text-right md:flex md:justify-start">
|
||||
{{ format.toDay(item.voting_end_time, 'from') }}
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@@ -22,7 +22,7 @@ const veto = computed(() => format.calculatePercent(props.tally?.no_with_veto, t
|
||||
</script>
|
||||
|
||||
<template>
|
||||
<div class="progress rounded-full h-1 text-xs">
|
||||
<div class="progress rounded-full h-1 text-xs flex items-center">
|
||||
<div class="h-1 bg-yes" :style="`width: ${yes}`"></div>
|
||||
<div class="h-1 bg-no" :style="`width: ${no}`"></div>
|
||||
<div class="h-1" :style="`width: ${veto}; background-color: #B71C1C;`"></div>
|
||||
|
||||
Reference in New Issue
Block a user