Uh oh!
There was an error while loading. Please reload this page.
Update CSS for future rustdoc merge - #33431
Conversation
birkenfeld
commented
May 5, 2016
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. |
GuillaumeGomez
commented
May 5, 2016
I'm not sure to understand what you're talking about. Do you have a screenshot please? |
birkenfeld
commented
May 6, 2016
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
GuillaumeGomez
commented
May 6, 2016
Oh I see! I'll do something about it as well then. |
b12ef97 to
ca5411aCompareGuillaumeGomez
commented
May 6, 2016
@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! |
birkenfeld
commented
May 6, 2016
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. 😉 |
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? |
birkenfeld
commented
May 7, 2016
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. |
GuillaumeGomez
commented
May 7, 2016
Didn't pay attention to it. I update it. Thanks for the feedback! |
GuillaumeGomez
commented
May 7, 2016
It was a font issue. Do you see anything else @birkenfeld? |
birkenfeld
commented
May 7, 2016
Nope, I'm happy 👍 |
GuillaumeGomez
commented
May 7, 2016
Great! 😄 cc @steveklabnik |
steveklabnik
commented
May 9, 2016
@bors: r+ rollup |
bors
commented
May 9, 2016
📌 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? |
GuillaumeGomez
commented
May 10, 2016
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). |
GuillaumeGomez
commented
May 10, 2016
birkenfeld
commented
May 10, 2016
I like it, this is more consistent with the other "since"s as well. |
steveklabnik
commented
May 10, 2016
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