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

[S] Sphinx-copybutton has two tooltips (custom and native) #100

Open
Tracked by #72
gabalafou opened this issue May 28, 2024 · 3 comments
Open
Tracked by #72

[S] Sphinx-copybutton has two tooltips (custom and native) #100

gabalafou opened this issue May 28, 2024 · 3 comments
Labels

Comments

@gabalafou
Copy link
Contributor

No description provided.

@gabalafou gabalafou changed the title Sphinx-copybutton has two tooltips (custom and native) [S] Sphinx-copybutton has two tooltips (custom and native) May 30, 2024
@gabalafou gabalafou added the size: S A few hours, less than one week label May 31, 2024
@Carreau
Copy link
Contributor

Carreau commented Jul 11, 2024

This appear to be on purpose and is not a native tooltip. It is a title for the SVG element:

https://developer.mozilla.org/en-US/docs/Web/SVG/Element/title (tl;dr: short desc of the icon)

So it is meant as a description of the svg icon, it happen to be a native tooltip on some browsers.

I think maybe we can use desc (long desc of the icon) instead of title, which would lead to no tooltip.

@Carreau
Copy link
Contributor

Carreau commented Jul 11, 2024

There is already an upstream issue: executablebooks/sphinx-copybutton#200

@trallard
Copy link
Member

trallard commented Sep 5, 2024

Not planned as copy-button is not a core dep for PST

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
Status: Not planned
Development

No branches or pull requests

3 participants