bitovi / documentjs

The sophisticated documentation engine
https://documentjs.com/
MIT License
598 stars 381 forks source link

Really Long Function Names Should Truncate #235

Open imjoshdean opened 8 years ago

imjoshdean commented 8 years ago

Currently really long function names overflow outside of the navigation as such:

http://puu.sh/n35VG/f8ddff2db4.png

Seems to me that we should text-overflow: ellipsis; it.

justinbmeyer commented 8 years ago

Probably a simple style change. Might use text-overflow: ellipsis

https://developer.mozilla.org/en-US/docs/Web/CSS/text-overflow

rjgotten commented 8 years ago

You might want to use word-wrap:break-word instead of text-overflow:ellipsis. Cutting-off function name identifiers may be confusing when you're dealing with similarly named functions...