Skip to content

Extract RenderedHtml component #3220

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

Merged
merged 3 commits into from
Feb 1, 2021
Merged

Extract RenderedHtml component #3220

merged 3 commits into from
Feb 1, 2021

Conversation

Turbo87
Copy link
Member

@Turbo87 Turbo87 commented Jan 31, 2021

This PR extracts a new RenderedHtml component, which is used to render the README content on the crate details pages. To make the component easier to handle and align on the page, the styling was slightly adjusted so that the component does not have any outer margin by default.

r? @locks

This makes it easier to properly align the component with other elements on the page
Everything else is using 20px, so we should do the same here to give the README a bit more space for rendering
@locks
Copy link
Contributor

locks commented Feb 1, 2021

Removing the outer margin seems like an improvement.

@bors r+

@bors
Copy link
Contributor

bors commented Feb 1, 2021

📌 Commit d79e539 has been approved by locks

@bors
Copy link
Contributor

bors commented Feb 1, 2021

⌛ Testing commit d79e539 with merge 2b3bdf1...

@bors
Copy link
Contributor

bors commented Feb 1, 2021

☀️ Test successful - checks-actions
Approved by: locks
Pushing 2b3bdf1 to master...

@bors bors merged commit 2b3bdf1 into rust-lang:master Feb 1, 2021
@Turbo87 Turbo87 deleted the readme branch February 1, 2021 02:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants