Skip to content

Commit

Permalink
Fix Dapps UI allowing more buttons (#27)
Browse files Browse the repository at this point in the history
  • Loading branch information
noisekit authored Aug 25, 2023
1 parent fc189c8 commit e871946
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/renderer/DApps/Dapps.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { Box, Button, Heading, Image, Link, Spinner, Stack } from '@chakra-ui/react';
import { Box, Button, Heading, Image, Link, Spinner, Flex } from '@chakra-ui/react';
import { ExternalLinkIcon } from '@chakra-ui/icons';
import { useDapps } from './useDapps';
import { DappType } from '../../config';
Expand Down Expand Up @@ -30,11 +30,11 @@ export function Dapps() {
<Heading mb="3" size="sm">
Available DApps:
</Heading>
<Stack direction="row" spacing={6} justifyContent="start" mb="2">
<Flex direction="row" gap={2} justifyContent="start" mb="2" flexWrap="wrap">
{dapps.map((dapp: DappType) => (
<DappButton key={dapp.id} dapp={dapp} />
))}
</Stack>
</Flex>
</Box>
</Box>
);
Expand Down

0 comments on commit e871946

Please sign in to comment.