Commit 44dd2803 authored by Max Alekseenko's avatar Max Alekseenko

update styles of no result component

parent c0bbc4c2
This diff is collapsed.
...@@ -28,7 +28,7 @@ const EmptySearchResult = ({ favoriteApps, selectedCategoryId }: Props) => ( ...@@ -28,7 +28,7 @@ const EmptySearchResult = ({ favoriteApps, selectedCategoryId }: Props) => (
No matching apps found. No matching apps found.
{ 'suggestIdeasFormUrl' in feature && ( { 'suggestIdeasFormUrl' in feature && (
<> <>
{ ' ' }Have a groundbreaking idea or app suggestion?{ ' ' } { ' ' }Have a groundbreaking idea or app suggestion?<br/>
<LinkExternal href={ feature.suggestIdeasFormUrl }>Share it with us</LinkExternal> <LinkExternal href={ feature.suggestIdeasFormUrl }>Share it with us</LinkExternal>
</> </>
) } ) }
......
...@@ -16,23 +16,21 @@ const EmptySearchResult = ({ text }: Props) => { ...@@ -16,23 +16,21 @@ const EmptySearchResult = ({ text }: Props) => {
display="flex" display="flex"
flexDirection="column" flexDirection="column"
alignItems="center" alignItems="center"
justifyContent="center"
mt="50px"
> >
<Icon as={ emptySearchResultIcon } boxSize={ 60 }/> <Icon
as={ emptySearchResultIcon }
w={{ base: '160px', sm: '240px' }}
h="auto"
mb={{ base: 4, sm: 6 }}
/>
<Heading <Heading as="h4" size="sm" mb={ 2 }>
as="h3"
marginBottom={ 2 }
fontSize={{ base: '2xl', sm: '3xl' }}
fontWeight="semibold"
>
No results No results
</Heading> </Heading>
<Text <Text fontSize={{ base: 'sm', sm: 'md' }} align="center">
fontSize={{ base: 'sm' }}
variant="secondary"
align="center"
>
{ text } { text }
</Text> </Text>
</Box> </Box>
......
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