Skip to content
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

Clean up the "toggle source" link #1186

Closed
wants to merge 1 commit into from

Conversation

nithinbekal
Copy link

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?

  • Changes the link text from "click to toggle source" to "Toggle source"
  • Keeps the link always visible, rather than only showing up on hover
  • Removes the zoom image which takes up more space
  • Makes minor changes to the typography of the text to make it easier to read

Screenshots

Before

slice_when-before

After

slice_when-after

@st0012
Copy link
Member

st0012 commented Oct 1, 2024

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

@st0012 st0012 closed this Oct 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants