Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Link][joy-ui] Fix font inherit #38124

Merged
merged 1 commit into from
Jul 24, 2023

Conversation

oliviertassinari
Copy link
Member

@oliviertassinari oliviertassinari commented Jul 23, 2023

The reproduction https://codesandbox.io/s/nostalgic-solomon-dmwxr3?file=/Demo.tsx

import * as React from "react";
import Box from "@mui/joy/Box";
import Link from "@mui/joy/Link";

export default function LinkLevels() {
  return (
    <Box sx={{ fontWeight: 800 }}>
      <Link level="inherit" component="button">
        Link
      </Link>
    </Box>
  );
}

Actual

Screenshot 2023-07-23 at 16 51 17

Expected

Screenshot 2023-07-23 at 16 51 46

Same fix as #38123

@oliviertassinari oliviertassinari added component: link This is the name of the generic UI component, not the React module! package: joy-ui Specific to @mui/joy labels Jul 23, 2023
@mui-bot
Copy link

mui-bot commented Jul 23, 2023

Netlify deploy preview

https://deploy-preview-38124--material-ui.netlify.app/

Bundle size report

Details of bundle changes (Toolpad)
Details of bundle changes

Generated by 🚫 dangerJS against 2aa9b59

@siriwatknp siriwatknp merged commit afdec50 into mui:master Jul 24, 2023
20 checks passed
@oliviertassinari oliviertassinari deleted the joy-ui-link-inherit branch July 24, 2023 21:35
@oliviertassinari oliviertassinari changed the title [Link][Joy UI] Fix font inherit [Link][joy-ui] Fix font inherit Jul 24, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
component: link This is the name of the generic UI component, not the React module! package: joy-ui Specific to @mui/joy
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants