Commit ad7d8d11 authored by Max Alekseenko's avatar Max Alekseenko

fix margins

parent 8baf6698
...@@ -65,6 +65,7 @@ const FeaturedApp = ({ ...@@ -65,6 +65,7 @@ const FeaturedApp = ({
padding={ 5 } padding={ 5 }
background={ backgroundColor } background={ backgroundColor }
mb={ 2 } mb={ 2 }
mt={ 6 }
> >
<Skeleton <Skeleton
isLoaded={ !isLoading } isLoaded={ !isLoading }
......
...@@ -43,6 +43,7 @@ const FeaturedAppMobile = ({ ...@@ -43,6 +43,7 @@ const FeaturedAppMobile = ({
padding={{ base: 3, sm: '20px' }} padding={{ base: 3, sm: '20px' }}
role="group" role="group"
background={ useColorModeValue('purple.50', 'whiteAlpha.100') } background={ useColorModeValue('purple.50', 'whiteAlpha.100') }
mt={ 6 }
> >
<Flex <Flex
flexDirection="row" flexDirection="row"
......
...@@ -22,6 +22,7 @@ const IframeBanner = ({ contentUrl, linkUrl }: { contentUrl: string; linkUrl: st ...@@ -22,6 +22,7 @@ const IframeBanner = ({ contentUrl, linkUrl }: { contentUrl: string; linkUrl: st
w="100%" w="100%"
borderRadius="md" borderRadius="md"
mb={{ base: 0, sm: 2 }} mb={{ base: 0, sm: 2 }}
mt={ 6 }
overflow="hidden" overflow="hidden"
> >
<Link <Link
......
import { Box } from '@chakra-ui/react';
import React from 'react'; import React from 'react';
import { apps as appsMock } from 'mocks/apps/apps'; import { apps as appsMock } from 'mocks/apps/apps';
...@@ -55,7 +56,15 @@ test.describe('mobile', () => { ...@@ -55,7 +56,15 @@ test.describe('mobile', () => {
test.use({ viewport: devices['iPhone 13 Pro'].viewport }); test.use({ viewport: devices['iPhone 13 Pro'].viewport });
test('base view', async({ render }) => { test('base view', async({ render }) => {
const component = await render(<Marketplace/>); const component = await render(
<Box>
{ /* Added a fake header because without the ActionBar works incorrectly without it */ }
<Box h="100px" backgroundColor="#dbdbdb" p={ 1 }>
Header
</Box>
<Marketplace/>
</Box>,
);
await expect(component).toHaveScreenshot(); await expect(component).toHaveScreenshot();
}); });
......
...@@ -136,6 +136,7 @@ const Marketplace = () => { ...@@ -136,6 +136,7 @@ const Marketplace = () => {
<> <>
<PageTitle <PageTitle
title="DAppscout" title="DAppscout"
mb={ 2 }
contentAfter={ (isMobile && links.length > 1) ? ( contentAfter={ (isMobile && links.length > 1) ? (
<Menu> <Menu>
<MenuButton <MenuButton
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment