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

Fix title heading overlap in rust doc #45450

Merged
merged 2 commits into from
Nov 1, 2017
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 11 additions & 1 deletion src/librustdoc/html/static/rustdoc.css
Original file line number Diff line number Diff line change
Expand Up @@ -529,7 +529,8 @@ a {
.content .search-results td:first-child { padding-right: 0; }
.content .search-results td:first-child a { padding-right: 10px; }

tr.result span.primitive::after { content: ' (primitive type)'; font-style: italic; color: black;
tr.result span.primitive::after {
content: ' (primitive type)'; font-style: italic; color: black;
}

body.blur > :not(#help) {
Expand Down Expand Up @@ -745,6 +746,15 @@ span.since {
margin-top: 5px;
}

.docblock > .section-header:first-child {
margin-left: 15px;
margin-top: 0;
}

.docblock > .section-header:first-child:hover > a:before {
left: -10px;
}

.enum > .collapsed, .struct > .collapsed {
margin-bottom: 25px;
}
Expand Down