Skip to content

Commit

Permalink
fix: decrease cclicence tooltip size (#811)
Browse files Browse the repository at this point in the history
  • Loading branch information
spaenleh committed Apr 16, 2024
1 parent 37ce15c commit 9abd6e5
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions src/CreativeCommons/CreativeCommons.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -86,10 +86,12 @@ const getLicenseName = (

const CCIcon: FC<CCIconProps> = ({ icon, title, description }) => {
const tooltip = (
<Box>
<Typography fontWeight='bold'>{title}</Typography>
{description && <Typography variant='body2'>{description}</Typography>}
</Box>
<Stack direction='column' spacing={1}>
<Typography fontWeight='bold' variant='note'>
{title}
</Typography>
{description && <Typography variant='caption'>{description}</Typography>}
</Stack>
);

return (
Expand Down

0 comments on commit 9abd6e5

Please sign in to comment.