-
-
Notifications
You must be signed in to change notification settings - Fork 8.7k
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
Improve blog layout #4083
Comments
@lex111 is the infima PR enough to improve the blog layout? IMHO it's not so I'll re-open but let me know what you think. |
@slorber yes, for solve this issue we need to release new version of Infima, then slightly change blog markup during upgrading to its new version. Can you want to release new version of Infima? |
Fixed in #4370. |
@lex111 Is it possible to customize this layout with react? |
@maheshmnj yes you can swizzle any theme component and customize them |
@slorber I meant can we use a custom react component e.g
If this is possible, is there a sample code you can point me at for reference? |
🐛 Bug Report
The current blog layout is not ideal, particularly on large screens where blog titles wrap unnecessarily.
Also the spacing is not very good when there's a blog post list scrollbar
The ReactNative site has a better blog layout using custom CSS, but it's not ideal either to write this CSS as we have to target classes of the Infima grid system in a fragile way
For example, I used a similar solution for the Jest v2 website:
We should rather adopt current ReactNative design in the default Docusaurus blog layout design in future versions, and stop using a basic css grid for that as we want the sides to grow when space is available.
cc @lex111 @Simek
The text was updated successfully, but these errors were encountered: