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

[docs] Make overview demo work in codesandbox #10661

Merged
merged 2 commits into from
Oct 16, 2023

Conversation

alexfauquette
Copy link
Member

@alexfauquette alexfauquette commented Oct 12, 2023

@alexfauquette alexfauquette added the docs Improvements or additions to the documentation label Oct 12, 2023
@mui-bot
Copy link

mui-bot commented Oct 12, 2023

Deploy preview: https://deploy-preview-10661--material-ui-x.netlify.app/

Generated by 🚫 dangerJS against 90d3c37

Copy link
Member

@Janpot Janpot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yep this works better. Shouldn't be too hard to make the icon work as well, but not really a priority 🙂

@@ -17,9 +16,9 @@ function ProLabel({ children }) {
return (
<Stack direction="row" spacing={0.5} component="span">
<Tooltip title="Included in Pro package">
<Link href="/x/introduction/licensing/#pro-plan">
<a href="https://mui.com/x/introduction/licensing/#pro-plan">
<span className="plan-pro" />
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I believe this class is not available in the codesandbox. To fully make the demo work in CSB, could it make sense to make a styled() component for this instead? With absolute url to the image?

@Janpot
Copy link
Member

Janpot commented Oct 13, 2023

Screenshot 2023-10-13 at 15 20 08

Still a character encoding issue in the codesandbox. I believe the index.html of the example is missing a <meta charset="utf-8" />

Had the core repo open so already pre-back-ported (😄) it mui/material-ui#39424

@alexfauquette alexfauquette merged commit 2258ff3 into mui:master Oct 16, 2023
18 checks passed
@alexfauquette alexfauquette deleted the links branch October 16, 2023 11:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
docs Improvements or additions to the documentation
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants