Skip to content

Commit

Permalink
chore: small refinements
Browse files Browse the repository at this point in the history
  • Loading branch information
pedronauck committed Oct 24, 2023
1 parent 88738f3 commit cdf13a1
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
7 changes: 3 additions & 4 deletions packages/app/src/systems/Account/components/Utxos/Utxos.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ function UtxoItem({ item, assetId, style }: UtxoItemProps) {
style={style}
align="center"
gap="4"
className={cx('odd:bg-gray-4 p-2 px-2', '[&_*]:text-xs')}
className={cx('odd:bg-gray-4 p-2 px-2', '[&_*]:text-xs', 'max-h-[35px]')}
>
<Address full prefix="ID:" value={item.utxoId} className="flex-1" />
<Text className="text-muted">
Expand All @@ -40,10 +40,9 @@ type UtxosProps = BoxProps & {
function VirtualList({ items, assetId }: UtxosProps) {
return (
<List
className="List"
height={300}
height={350}
itemCount={items?.length ?? 0}
itemSize={30}
itemSize={35}
width="100%"
>
{({ index: idx, style }) => {
Expand Down
2 changes: 1 addition & 1 deletion packages/ui/src/components/Address/Address.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ export const Address = withNamespace(AddressRoot, {
const styles = tv({
slots: {
root: 'fuel-[Link]:text-sm',
prefix: 'text-sm text-color',
prefix: 'text-sm text-secondary',
address: 'text-sm text-muted mt-px',
toggleBtn: [
'transition-all duration-500 text-muted rotate-0',
Expand Down

0 comments on commit cdf13a1

Please sign in to comment.