Update font size and padding in CategoryBox component for improved readability and layout consistency.

This commit is contained in:
sebseb7
2025-07-15 21:00:27 +02:00
parent 251352c660
commit 925667fc2c

View File

@@ -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>