ruby / rdoc

RDoc produces HTML and online documentation for Ruby projects.
https://ruby.github.io/rdoc/
Other
844 stars 439 forks source link

Clean up the "toggle source" link #1186

Closed nithinbekal closed 1 month ago

nithinbekal commented 1 month ago

When the method param sequence is too long, the "toggle source" link can overlap the method params. The text for this link is also quite verbose - "click to toggle source".

What's changed?

Screenshots

Before

slice_when-before

After

slice_when-after
st0012 commented 1 month ago

Thanks for the PR, but I already included a similar change in the overhaul on method source toggle in #1176

nithinbekal commented 1 month ago

Thanks, Stan! I should have looked at the open PRs first. 😅

That one's much more comprehensive than this PR. Love the improvements!