Skip to content

Commit

Permalink
style: UI improvements (#129)
Browse files Browse the repository at this point in the history
* style: UI improvements

* chore: lint

* content: use vote workind

* content: deposit cta

* chore: linter
  • Loading branch information
alexiscolin authored Sep 16, 2024
1 parent a5ca532 commit a60045d
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
6 changes: 3 additions & 3 deletions src/components/proposals/ProposalWrapper.vue
Original file line number Diff line number Diff line change
Expand Up @@ -212,7 +212,7 @@ const tabOptions = reactive<UiTabOption[]>([
{ title: "Info" },
{ title: "Voters" },
{ title: "Discussions", link: "https://commonwealth.im/govgen/proposal/" + props.proposalId },
{ title: "Links", link: "https://commonwealth.im/govgen/proposal/" + props.proposalId },
// { title: "Links", link: "https://commonwealth.im/govgen/proposal/" + props.proposalId },
]);
const breakdownType = ref<("validators" | "voters") | null>(null);
Expand Down Expand Up @@ -511,7 +511,7 @@ onMounted(() => (title.value = `GovGen — #${proposal.value?.proposal[0].id} ${
}
"
>
{{ $t("components.WalletConnect.button") }}
{{ $t("components.ProposalVote.cta") }}
</div>
</SimpleCard>
<SimpleCard v-if="inDeposit">
Expand All @@ -537,7 +537,7 @@ onMounted(() => (title.value = `GovGen — #${proposal.value?.proposal[0].id} ${
}
"
>
{{ $t("components.WalletConnect.button") }}
{{ $t("components.ProposalDeposit.cta") }}
</div>
</SimpleCard>
</div>
Expand Down
2 changes: 1 addition & 1 deletion src/components/ui/SimpleCard.vue
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<template>
<div class="flex flex-col bg-grey-400 rounded p-5 md:p-10">
<div class="flex flex-col bg-grey-400 rounded p-5 md:p-10 min-w-96">
<slot />
</div>
</template>
6 changes: 3 additions & 3 deletions src/components/ui/icons/Commonwealth.vue
Original file line number Diff line number Diff line change
Expand Up @@ -9,13 +9,13 @@
>
<g clip-path="url(#clip0_234_14690)">
<rect width="32" height="32" fill="none"></rect>
<g style="mix-blend-mode: multiply">
<g style="opacity: 0.5">
<ellipse cx="16" cy="10.215" rx="9.645" ry="9.645" fill="#dddddd"></ellipse>
</g>
<g style="mix-blend-mode: multiply">
<g style="opacity: 0.6">
<ellipse cx="22.048" cy="21.775" rx="9.645" ry="9.645" fill="#aaaaaa"></ellipse>
</g>
<g style="mix-blend-mode: multiply">
<g style="opacity: 0.8">
<ellipse cx="9.552" cy="21.775" rx="9.645" ry="9.645" fill="#797979"></ellipse>
</g>
</g>
Expand Down

0 comments on commit a60045d

Please sign in to comment.