Skip to content

Commit

Permalink
Fix misc (#33)
Browse files Browse the repository at this point in the history
  • Loading branch information
nguyenlejoe authored Dec 12, 2023
1 parent 53dd6f3 commit 70dc4fe
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 45 deletions.
41 changes: 2 additions & 39 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"_id": "[email protected]",
"name": "@covalenthq/goldrush-kit",
"version": "0.1.9",
"version": "0.2.4",
"types": "dist/index.d.ts",
"exports": {
".": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ export const NFTWalletTokenListView: React.FC<NFTWalletTokenListViewProps> = ({
<div className="flex flex-wrap place-content-between gap-2">
<AccountCardView address={address} />

<div className="w-full rounded border p-2 md:w-min lg:w-min">
<div className="w-full rounded border p-2 md:max-w-[15rem] lg:max-w-[15rem]">
<h2 className="text-base font-semibold text-secondary ">
Total Quote
</h2>
Expand All @@ -114,7 +114,7 @@ export const NFTWalletTokenListView: React.FC<NFTWalletTokenListViewProps> = ({
},
})}
</span>
<div className="flex gap-1 text-sm text-secondary">
<div className="flex gap-1 text-sm text-secondary ">
<span className="flex">
{" "}
(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -189,7 +189,7 @@ export const TokenBalancesListView: React.FC<TokenBalancesListViewProps> = ({
size={GRK_SIZES.EXTRA_SMALL}
chain_color={chainColor}
sub_url={protocol_url}
token_url={row.original.logo_url}
token_url={row.original.logo_urls.token_logo_url}
/>
<div className="flex flex-col">
<div style={{ color: chainColor }}>
Expand Down Expand Up @@ -423,7 +423,7 @@ export const TokenBalancesListView: React.FC<TokenBalancesListViewProps> = ({
size={GRK_SIZES.EXTRA_SMALL}
chain_color={chainColor}
sub_url={protocol_url}
token_url={row.original.logo_url}
token_url={row.original.logo_urls.token_logo_url}
/>
<div className="flex flex-col gap-1">
<div style={{ color: chainColor }}>
Expand Down
2 changes: 1 addition & 1 deletion src/components/ui/dropdown-menu.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ const DropdownMenuContent = React.forwardRef<
ref={ref}
sideOffset={sideOffset}
className={cn(
"z-50 min-w-[8rem] overflow-hidden rounded-md border bg-popover p-1 text-popover-foreground shadow-md",
"z-50 min-w-[8rem] overflow-hidden rounded-md border bg-popover p-1 text-popover-foreground shadow-md dark:bg-slate-800 dark:text-white",
"data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",
className
)}
Expand Down

0 comments on commit 70dc4fe

Please sign in to comment.