-
Couldn't load subscription status.
- Fork 13.9k
Update CSS for future rustdoc merge #33431
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
Conversation
|
Thanks! One more issue I've noticed is that the "in-band"/"out-of-band" split is 60%/40%, which wastes a lot of space for long "impl X for Y where Z" headers, whereas "[src]" takes only a small, and constant, amount of space. |
|
I'm not sure to understand what you're talking about. Do you have a screenshot please? |
Since these impls can be scattered around quite a bit, it is nice to be able to jump to the location where individual methods and trait impls are defined. Fixes: rust-lang#30416
|
Oh I see! I'll do something about it as well then. |
b12ef97 to
ca5411a
Compare
|
@birkenfeld: So with the last commit I did:
Do you mind testing it and giving me your feedback please? :) |
|
@GuillaumeGomez the style and positioning looks good to me now! I found three issues (Firefox 45 and Chromium 50, on Linux):
|
That's the goal. Look at my comment:
.
I'm on it! |
Ah. I was reading "under" as "vertically below". Makes sense. |
|
Try to reduce the browser's window without my change, you'll understand better why I did this change. 😉 |
ca5411a to
c33c71f
Compare
|
Updated. Errors have been removed (damn z-index). So that's what it looks like now: @birkenfeld: I checked and remove some bugs I found but could you take another look please? |
|
Looks good! A very minor thing I noticed is that the "stable since" versions are styled differently, e.g. the "1.0.0" and the "1.9.0" in the first of my previous screenshots. |
|
Didn't pay attention to it. I update it. Thanks for the feedback! |
c33c71f to
cdca084
Compare
|
It was a font issue. Do you see anything else @birkenfeld? |
|
Nope, I'm happy 👍 |
|
Great! 😄 cc @steveklabnik |
|
@bors: r+ rollup |
|
📌 Commit cdca084 has been approved by |
…klabnik Update CSS for future rustdoc merge cc rust-lang#33382 r? @steveklabnik cc @Manishearth cc @birkenfeld
…klabnik Update CSS for future rustdoc merge cc rust-lang#33382 r? @steveklabnik cc @Manishearth cc @birkenfeld
…klabnik Update CSS for future rustdoc merge cc rust-lang#33382 r? @steveklabnik cc @Manishearth cc @birkenfeld
|
If the first-line of the top level doc-block is long enough it overlaps with the "stable since" annotation. http://doc.rust-lang.org/nightly/std/fmt/fn.write.html
Was this intended? |
It is. But not in this precise case (I mean, it's not supposed to be removed if you don't reduce browser's size). |
|
I like it, this is more consistent with the other "since"s as well. |
|
I like it too! |
…labnik Improve "since" tag placement Continuation of rust-lang#33431. r? @steveklabnik
…labnik Improve "since" tag placement Continuation of rust-lang#33431. r? @steveklabnik
…labnik Improve "since" tag placement Continuation of rust-lang#33431. r? @steveklabnik






cc #33382
r? @steveklabnik
cc @Manishearth
cc @birkenfeld