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

[blog] Fix the look and feel of the media description #36069

Merged

Conversation

oliviertassinari
Copy link
Member

@oliviertassinari oliviertassinari commented Feb 5, 2023

Fix the handling of the media caption in the blog posts:

<p class="blog-description">The feature in action, from the docs page.</p>

Before: https://mui.com/blog/2022-tenerife-retreat/#destination

Screenshot 2023-02-05 at 21 31 26

After: https://deploy-preview-36069--material-ui.netlify.app/blog/2022-tenerife-retreat/#destination

Screenshot 2023-02-05 at 21 31 29

I noticed this working on #35839.

@oliviertassinari oliviertassinari added design This is about UI or UX design, please involve a designer blog labels Feb 5, 2023
@mui-bot
Copy link

mui-bot commented Feb 5, 2023

Messages
📖 Netlify deploy preview: https://deploy-preview-36069--material-ui.netlify.app/

No bundle size changes

Generated by 🚫 dangerJS against 5428663

@oliviertassinari oliviertassinari added the bug 🐛 Something doesn't work label Feb 5, 2023
@danilo-leal
Copy link
Contributor

I'm curious about the reasoning for centered text 😬 Don't dislike it, just wondering if there's anything to be said aside from personal style here.

@oliviertassinari
Copy link
Member Author

oliviertassinari commented Feb 9, 2023

@danilo-leal I have tried hard to not change the alignment, the issue is that I couldn't both make the caption out of the normal reading flow and still legible.

@oliviertassinari oliviertassinari removed the request for review from samuelsycamore February 9, 2023 12:42
Copy link
Contributor

@danilo-leal danilo-leal left a comment

Choose a reason for hiding this comment

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

That's alright! I'm not opposed to the centered caption at all ⎯ was just curious to see if you had a strong preference for it. But it looks great!

@oliviertassinari oliviertassinari merged commit 576d5e9 into mui:master Feb 10, 2023
@oliviertassinari oliviertassinari deleted the fix-blog-url-description branch February 10, 2023 10:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
blog bug 🐛 Something doesn't work design This is about UI or UX design, please involve a designer
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants