Update font size and padding in CategoryBox component for improved readability and layout consistency.
This commit is contained in:
@@ -16,7 +16,7 @@ const CategoryBox = ({
|
||||
name,
|
||||
seoName,
|
||||
bgcolor,
|
||||
fontSize = '0.8rem',
|
||||
fontSize = '1.2rem',
|
||||
...props
|
||||
}) => {
|
||||
const [imageUrl, setImageUrl] = useState(null);
|
||||
@@ -186,7 +186,7 @@ const CategoryBox = ({
|
||||
fontFamily: 'SwashingtonCP, "Times New Roman", Georgia, serif',
|
||||
fontWeight: 'normal',
|
||||
lineHeight: '1.2',
|
||||
padding: '0 8px'
|
||||
padding: '12px 8px'
|
||||
}}>
|
||||
{name}
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user