Skip to content

Commit

Permalink
fix: scrollable breakdowns
Browse files Browse the repository at this point in the history
  • Loading branch information
clockworkgr committed Sep 18, 2024
1 parent 8d5bc5a commit 8223ef4
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/components/proposals/Breakdown.vue
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ const getTxHash = (vote: AllVotesQuery["proposal_vote"][0]) => {
</script>

<template>
<div class="flex flex-col w-full">
<div class="flex flex-col w-full overflow-auto">
<div class="grid grid-cols-5 py-4 w-full text-grey-100 font-medium text-200">
<span>{{ $t("components.Breakdown.voter") }}</span>
<span>{{ $t("components.Breakdown.txHash") }}</span>
Expand Down
2 changes: 1 addition & 1 deletion src/components/proposals/ProposalWrapper.vue
Original file line number Diff line number Diff line change
Expand Up @@ -807,7 +807,7 @@ onMounted(() => (title.value = `GovGen — #${proposal.value?.proposal[0].id} ${
</PopupBox>

<ModalWrap :visible="displayBreakdown">
<div class="bg-dark px-20 py-12 w-[90vw] md:max-w-[90rem] rounded-md">
<div class="bg-dark px-20 py-12 w-[90vw] md:max-w-[90rem] rounded-md max-h-screen">
<CommonButton class="flex justify-between items-center gap-6 w-36" @click="showBreakdown(null)">
<Icon icon="arrowLeft" /><span>{{ $t("ui.buttons.back") }}</span>
</CommonButton>
Expand Down
2 changes: 1 addition & 1 deletion src/components/proposals/ValidatorBreakdown.vue
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ const getValidatorInfo = (address: string) => {
</script>

<template>
<div class="flex flex-col w-full">
<div class="flex flex-col w-full overflow-auto">
<div class="grid grid-cols-5 py-4 w-full text-grey-100 font-medium text-200">
<span>{{ $t("components.Breakdown.moniker") }}</span>
<span>{{ $t("components.Breakdown.txHash") }}</span>
Expand Down

0 comments on commit 8223ef4

Please sign in to comment.