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

Making the button an a #67

Open
stdedos opened this issue May 21, 2024 · 0 comments
Open

Making the button an a #67

stdedos opened this issue May 21, 2024 · 0 comments

Comments

@stdedos
Copy link

stdedos commented May 21, 2024

Would you mind making that

<button id="${UF_BTN_ID}" class="btn-sm btn" aria-describedby="${UF_TIP_ID}">
<svg aria-hidden="true" height="16" viewBox="0 0 16 16" version="1.1" width="16" data-view-component="true" class="octicon octicon-search">
<path d="M10.68 11.74a6 6 0 0 1-7.922-8.982 6 6 0 0 1 8.982 7.922l3.04 3.04a.749.749 0 0 1-.326 1.275.749.749 0 0 1-.734-.215ZM11.5 7a4.499 4.499 0 1 0-8.997 0A4.499 4.499 0 0 0 11.5 7Z"></path>
</svg>
Useful
</button>

an a instead of a button?

It would allow click-dragging the URL (e.g. to a different browser context), like so

image

Change is "really that trivial": Just define <a href="..." ..., everything else is the same
image

(except the tooltip 😅, but I'm sure it is figure-able 🙏)

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

1 participant