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

refactor: votes page ui adjustments #2343

Merged
merged 5 commits into from
Jul 2, 2020
Merged
Show file tree
Hide file tree
Changes from 4 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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