Skip to content

Commit

Permalink
Fix: align assets table (#3984)
Browse files Browse the repository at this point in the history
* Fix: align assets table

* Mobile view
  • Loading branch information
katspaugh authored Jul 23, 2024
1 parent 5b4e1ba commit b909b49
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/components/balances/AssetsTable/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -164,7 +164,7 @@ const AssetsTable = ({
inheritViewBox
color="error"
fontSize="small"
sx={{ verticalAlign: 'middle', marginLeft: 0.5 }}
sx={{ verticalAlign: 'middle', ml: 0.5, mr: [0, '-20px'] }}
/>
</span>
</Tooltip>
Expand Down
1 change: 1 addition & 0 deletions src/components/common/EnhancedTable/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,7 @@ function EnhancedTableHead(props: EnhancedTableHeadProps) {
active={orderBy === headCell.id}
direction={orderBy === headCell.id ? order : 'asc'}
onClick={createSortHandler(headCell.id)}
sx={{ mr: [0, '-26px'] }}
>
{headCell.label}
{orderBy === headCell.id ? (
Expand Down
2 changes: 1 addition & 1 deletion src/components/transactions/TxDetails/styles.module.css
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
margin-left: calc(var(--space-2) * -1);
margin-right: calc(var(--space-2) * -1);
padding: var(--space-2);
padding-top: var(--space-3)
padding-top: var(--space-3);
}
.txData,
.swapOrder {
Expand Down

0 comments on commit b909b49

Please sign in to comment.