Skip to content

Commit

Permalink
fix: update HeroAction text decoration styles
Browse files Browse the repository at this point in the history
  • Loading branch information
jeangovil committed Jul 13, 2023
1 parent 8a472e9 commit e3d20dd
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 1 deletion.
Original file line number Diff line number Diff line change
@@ -1,6 +1,13 @@
@use '../../../css/utils';

.mdx-hero-action {
&:hover,
button:hover {
&,
* {
text-decoration: none !important;
}
}
}

.mdx-hero-action--large {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,11 @@ export const HeroAction: React.FC<HeroActionProps> = ({
{...props}
>
<Button variant={variant} size={size}>
<Typography variant="label1" style={{ color: 'inherit' }}>
<Typography
component="span"
variant="label1"
style={{ color: 'inherit' }}
>
{children}
</Typography>
</Button>
Expand Down

0 comments on commit e3d20dd

Please sign in to comment.