Skip to content

Commit

Permalink
wip: minor changes regarding oeth layout
Browse files Browse the repository at this point in the history
  • Loading branch information
dcodes05 committed Aug 23, 2023
1 parent 7b7f8eb commit 3669b4e
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 3 deletions.
5 changes: 4 additions & 1 deletion apps/oeth/src/components/Layout.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,10 @@ export function Layout() {
mt: {
xs: 3,
md: 5,
paddingInline: 0,
paddingInline: {
xs: 2,
md: 0,
},
},
}}
maxWidth="sm"
Expand Down
7 changes: 6 additions & 1 deletion libs/defi/oeth/src/components/shared/APY.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,12 @@ export function APY({
</MenuItem>
))}
</Menu>
<Stack direction="row" flexWrap="wrap" gap={2} sx={{ width: '100%' }}>
<Stack
direction="row"
flexWrap="wrap"
gap={{ xs: 1, md: 2 }}
sx={{ width: '100%' }}
>
<Box
sx={{
paddingInline: { xs: 3, md: 2.5 },
Expand Down
2 changes: 1 addition & 1 deletion libs/shared/components/src/Cards/SwapCard/SwapButton.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ export function SwapButton({ onClick, sx, ...rest }: Props) {
fill: (theme) => theme.palette.background.paper,
strokeWidth: (theme) => theme.typography.pxToRem(2),
stroke: (theme) => theme.palette.grey[700],
transform: { xs: 'translateY(30%)', md: 'translateY(-8%)' },
transform: { xs: 'translateY(-20%)', md: 'translateY(-8%)' },
backgroundColor: (theme) => theme.palette.divider,
'& img': {
transition: (theme) => theme.transitions.create('transform'),
Expand Down

0 comments on commit 3669b4e

Please sign in to comment.