@@ -111,30 +111,23 @@ export function PortfolioCard() {
111111 { isExpanded && token . accountBreakdown && (
112112 < TableRow key = { `${ token . id } -breakdown` } >
113113 < TableCell colSpan = { 6 } className = "p-0" >
114- < div className = "divide-y divide-border " >
114+ < div className = "divide-border divide-y " >
115115 { token . accountBreakdown . map ( ( account , idx ) => (
116116 < div
117117 key = { account . account . id }
118- className = { `flex items-center justify-between px-4 py-3 text-sm ${
119- idx % 2 === 0 ? 'bg-muted/30 ' : 'bg-muted/50 '
118+ className = { `flex items-center justify-between p-2 text-sm ${
119+ idx % 2 === 0 ? 'bg-muted/20 ' : 'bg-muted'
120120 } `}
121121 >
122- < div className = "flex items-center gap-2" >
123- < span className = "font-medium" >
124- { account . account . name }
125- </ span >
126- { account . account . address && (
127- < span className = "text-xs text-muted-foreground" >
128- { account . account . address . slice ( 0 , 6 ) } ...
129- { account . account . address . slice ( - 4 ) }
130- </ span >
131- ) }
132- </ div >
133- < div className = "flex items-center gap-6" >
122+ < span className = "font-medium" >
123+ { account . account . name }
124+ </ span >
125+ < div className = "flex items-center gap-4" >
134126 < span className = "text-muted-foreground tabular-nums" >
135- { toFixed ( account . balance , 4 ) } ({ toFixed ( account . percentage , 2 ) } %)
127+ { toFixed ( account . balance , 3 ) } (
128+ { toFixed ( account . percentage , 2 ) } %)
136129 </ span >
137- < span className = "font-medium tabular-nums min-w-[100px] text-right" >
130+ < span className = "min-w-28 text-right font-medium tabular-nums " >
138131 { fiat &&
139132 currency &&
140133 formatCurrency (
0 commit comments