Skip to content

Commit

Permalink
fix: reduce max width
Browse files Browse the repository at this point in the history
  • Loading branch information
chybisov committed Apr 11, 2022
1 parent c09ba9b commit 233a1f3
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions packages/widget/src/App.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,8 @@ const MainContainer = styled(Container)(({ theme }) => ({
display: 'flex',
flexDirection: 'column',
overflowX: 'clip',
marginRight: 0
marginRight: 0,
maxWidth: 480
}));

interface AppProps {
Expand All @@ -37,7 +38,7 @@ export const App: React.FC<AppProps> = ({ config }) => {
<ThemeProvider theme={theme}>
<QueryProvider client={queryClient}>
<MemoryRouter>
<MainContainer maxWidth="sm" disableGutters>
<MainContainer disableGutters>
<WidgetProvider config={config}>
<SwapFormProvider>
<WalletHeader />
Expand Down

0 comments on commit 233a1f3

Please sign in to comment.