Skip to content

Commit afdec50

Browse files
authoredJul 24, 2023
[Link][Joy UI] Fix font inherit (#38124)
1 parent eb04c09 commit afdec50

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed
 

‎packages/mui-joy/src/Link/Link.tsx

+1-3
Original file line numberDiff line numberDiff line change
@@ -76,9 +76,7 @@ const LinkRoot = styled('a', {
7676
'--Icon-fontSize': '1.25em',
7777
...(ownerState.level && ownerState.level !== 'inherit' && theme.typography[ownerState.level]),
7878
...(ownerState.level === 'inherit' && {
79-
fontSize: 'inherit',
80-
fontFamily: 'inherit',
81-
lineHeight: 'inherit',
79+
font: 'inherit',
8280
}),
8381
...(ownerState.underline === 'none' && {
8482
textDecoration: 'none',

0 commit comments

Comments
 (0)
Please sign in to comment.