Skip to content

Commit

Permalink
fix: overflow (#133)
Browse files Browse the repository at this point in the history
* fix: overflow

* chore: linting
  • Loading branch information
clockworkgr authored Sep 18, 2024
1 parent 9ff22c1 commit 4d8b689
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 overflow-auto">
<div class="flex flex-col w-full">
<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 max-h-screen">
<div class="bg-dark px-20 py-12 w-[90vw] md:max-w-[90rem] rounded-md max-h-screen overflow-auto">
<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 overflow-auto">
<div class="flex flex-col w-full">
<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 4d8b689

Please sign in to comment.