fix: update HeroAction text decoration styles

This commit is contained in:
Hossein Mehrabi
2023-07-13 18:44:44 +03:30
parent 8a472e94c5
commit e3d20dda0b
2 changed files with 12 additions and 1 deletions
@@ -1,6 +1,13 @@
@use '../../../css/utils';
.mdx-hero-action {
&:hover,
button:hover {
&,
* {
text-decoration: none !important;
}
}
}
.mdx-hero-action--large {
@@ -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>