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,
|
name,
|
||||||
seoName,
|
seoName,
|
||||||
bgcolor,
|
bgcolor,
|
||||||
fontSize = '0.8rem',
|
fontSize = '1.2rem',
|
||||||
...props
|
...props
|
||||||
}) => {
|
}) => {
|
||||||
const [imageUrl, setImageUrl] = useState(null);
|
const [imageUrl, setImageUrl] = useState(null);
|
||||||
@@ -186,7 +186,7 @@ const CategoryBox = ({
|
|||||||
fontFamily: 'SwashingtonCP, "Times New Roman", Georgia, serif',
|
fontFamily: 'SwashingtonCP, "Times New Roman", Georgia, serif',
|
||||||
fontWeight: 'normal',
|
fontWeight: 'normal',
|
||||||
lineHeight: '1.2',
|
lineHeight: '1.2',
|
||||||
padding: '0 8px'
|
padding: '12px 8px'
|
||||||
}}>
|
}}>
|
||||||
{name}
|
{name}
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
Reference in New Issue
Block a user