Uh oh!
There was an error while loading. Please reload this page.
Fix rustdoc output performance - #22769
Conversation
rust-highfive
commented
Feb 24, 2015
r? @brson (rust_highfive has picked a reviewer for you, use r? to override) |
nagisa
commented
Feb 24, 2015
This snippet actually does something useful, although it might not look like it is a case at the first sight. It truncates short descriptions in the list of items such as in search or at the bottom of the module page. Without this script, horizontal scrolling appears on smaller viewports (ignore the terrible fonts, this is many-years old version of chrome being dumb): There’s not really a good way to preserve this functionality without javascript, because that’s how HTML tables work. |
mahkoh
commented
Feb 24, 2015
huonw
commented
Feb 24, 2015
Could you amend the commit message to contain more details? As it stands it doesn't even contain a reference to the issue in question. |
mahkoh
commented
Feb 24, 2015
Done. |
retep998
commented
Mar 10, 2015
Another solution is to use CSS which has a built in feature to cut off overflow with ellipses. |
nagisa
commented
Mar 10, 2015
Because that doesn't work on tables.
|
brson
commented
Mar 10, 2015
@bors: rollup r+ |
bors
commented
Mar 10, 2015
brson
commented
Mar 10, 2015
Sorry for the delay. |


Fixes#22325