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) => (
No matching apps found.
{ '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>
</>
) }
......
......@@ -16,23 +16,21 @@ const EmptySearchResult = ({ text }: Props) => {
display="flex"
flexDirection="column"
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
as="h3"
marginBottom={ 2 }
fontSize={{ base: '2xl', sm: '3xl' }}
fontWeight="semibold"
>
<Heading as="h4" size="sm" mb={ 2 }>
No results
</Heading>
<Text
fontSize={{ base: 'sm' }}
variant="secondary"
align="center"
>
<Text fontSize={{ base: 'sm', sm: 'md' }} align="center">
{ text }
</Text>
</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