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

back-links in viewcode should float right? #169

Closed
2bndy5 opened this issue Oct 8, 2022 · 3 comments
Closed

back-links in viewcode should float right? #169

2bndy5 opened this issue Oct 8, 2022 · 3 comments

Comments

@2bndy5
Copy link
Collaborator

2bndy5 commented Oct 8, 2022

I've been noticing that the links in the literal blocks generated by the viewcode ext are oddly placed at the beginning of the line with the xref'd signature. For example:
image
leads to
image

Most other themes float the [docs] link to the right in a non-obstructive way, so I've been using custom CSS do achieve this:

.viewcode-block .viewcode-back {
  float: right;
}

which results in
image

I was wondering if the CSS I'm using should be added to this theme's CSS.

@jbms
Copy link
Owner

jbms commented Oct 9, 2022

Yeah that sounds like a good idea.

@2bndy5
Copy link
Collaborator Author

2bndy5 commented Oct 9, 2022

FYI, I also intend to do a merge from upstream soon (which should help resolve #61)

@jbms
Copy link
Owner

jbms commented Oct 9, 2022

FYI, I also intend to do a merge from upstream soon (which should help resolve #61)

That would be great!

2bndy5 added a commit that referenced this issue Oct 24, 2022
@2bndy5 2bndy5 closed this as completed in 27dae22 Oct 25, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants