Skip to content

Commit

Permalink
feat: remove underline in box with linkto
Browse files Browse the repository at this point in the history
  • Loading branch information
JorisPannekeet committed Jan 7, 2025
1 parent 98d6e26 commit f059fda
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions src/components/box.js
Original file line number Diff line number Diff line change
Expand Up @@ -114,6 +114,7 @@
rel={linkTarget === '_blank' ? 'noopener' : ''}
component={hasLink ? BLink : undefined}
endpoint={hasLink ? linkTo : undefined}
className={classes.link}
>
{BoxCmp}
</Link>
Expand Down Expand Up @@ -303,6 +304,13 @@
borderStyle: 'dashed',
backgroundColor: '#F0F1F5',
},
link: {
textDecoration: 'none',
color: 'inherit',
'&:hover': {
textDecoration: 'none !important',
},
},
};
},
}))();

0 comments on commit f059fda

Please sign in to comment.