Skip to content
This repository has been archived by the owner on Mar 23, 2023. It is now read-only.

Commit

Permalink
refactor: votes page ui adjustments (#2343)
Browse files Browse the repository at this point in the history
  • Loading branch information
brenopolanski committed Jul 2, 2020
1 parent f95a794 commit e8bb5de
Show file tree
Hide file tree
Showing 10 changed files with 1,049 additions and 139 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -284,7 +284,7 @@ exports[`AddressList should render 1`] = `
</div>
</td>
<td
class="py-5"
class="w-20 py-5"
>
<div
class="inline-block truncate align-middle"
Expand Down Expand Up @@ -428,7 +428,7 @@ exports[`AddressList should render 1`] = `
</div>
</td>
<td
class="py-5"
class="w-20 py-5"
>
<div
class="inline-block truncate align-middle"
Expand Down Expand Up @@ -546,7 +546,7 @@ exports[`AddressList should render 1`] = `
</div>
</td>
<td
class="py-5"
class="w-20 py-5"
>
<div
class="inline-block truncate align-middle"
Expand All @@ -571,7 +571,7 @@ exports[`AddressList should render 1`] = `
class="py-5"
>
<div
class="sc-AxhCb fwVCao border-theme-neutral-200"
class="sc-AxhCb fwVCao border-theme-neutral-300"
/>
</td>
<td
Expand Down Expand Up @@ -627,7 +627,7 @@ exports[`AddressList should render 1`] = `
</div>
</td>
<td
class="py-5"
class="w-20 py-5"
>
<div
class="inline-block truncate align-middle"
Expand All @@ -652,7 +652,7 @@ exports[`AddressList should render 1`] = `
class="py-5"
>
<div
class="sc-AxhCb fwVCao border-theme-neutral-200"
class="sc-AxhCb fwVCao border-theme-neutral-300"
/>
</td>
<td
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ export const AddressListItem = ({
<Avatar address={walletAddress!} />
</td>

<td className="py-5">
<td className="w-20 py-5">
<Address walletName={walletName} address={walletAddress} maxChars={22} />
</td>

Expand All @@ -57,7 +57,7 @@ export const AddressListItem = ({
{delegateAddress ? (
<Avatar address={delegateAddress} />
) : (
<Circle className="border-theme-neutral-200" />
<Circle className="border-theme-neutral-300" />
)}
</td>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ exports[`AddressListItem should emit action on select button 1`] = `
</div>
</td>
<td
class="py-5"
class="w-20 py-5"
>
<div
class="inline-block truncate align-middle"
Expand Down Expand Up @@ -175,7 +175,7 @@ exports[`AddressListItem should render 1`] = `
</div>
</td>
<td
class="py-5"
class="w-20 py-5"
>
<div
class="inline-block truncate align-middle"
Expand Down
4 changes: 2 additions & 2 deletions src/domains/vote/components/DelegateList/DelegateList.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -100,9 +100,9 @@ export const DelegateList = (props: DelegateListProps) => {
accessor: "commissionDaily",
},
{
Header: "",
Header: "Vote",
accessor: "onSelect",
disableSortBy: true,
className: "justify-end",
},
];

Expand Down
Loading

0 comments on commit e8bb5de

Please sign in to comment.