Skip to content

Commit

Permalink
chore: minor changes in the search aside
Browse files Browse the repository at this point in the history
  • Loading branch information
Franqsanz committed Aug 19, 2024
1 parent 367deb4 commit 2fc6acb
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 2 deletions.
18 changes: 16 additions & 2 deletions src/components/AboutCategories.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import React from 'react';
import { Box, Text, Link } from '@chakra-ui/react';
import { Box, Text } from '@chakra-ui/react';

import { aboutCategories } from '../data/links';

Expand All @@ -15,7 +15,21 @@ export function AboutCategories({ category }: any) {
<Box fontSize='2xl' mt='5' fontWeight='bold'>
Sobre {category}
</Box>
<Text mt='2' fontSize='sm'>
<Text
mt='2'
fontSize='sm'
maxH='250px'
overflow='auto'
sx={{
'&::-webkit-scrollbar': {
width: '7px',
},
'&::-webkit-scrollbar-thumb': {
background: '#a2aab3',
borderRadius: '30px',
},
}}
>
{description}
</Text>
</React.Fragment>
Expand Down
2 changes: 2 additions & 0 deletions src/pages/Search.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -130,6 +130,8 @@ export default function Search() {
direction='column'
mt='10'
pb='10'
position='sticky'
top='16'
>
<Flex align='center' py='2' mb='2' fontSize='xl' fontWeight='bold'>
<Icon as={CgOptions} boxSize='20px' mr='2' />
Expand Down

0 comments on commit 2fc6acb

Please sign in to comment.