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

can not see the copy button when hover #321

Closed
loenvom opened this issue Mar 18, 2024 · 3 comments · Fixed by #323
Closed

can not see the copy button when hover #321

loenvom opened this issue Mar 18, 2024 · 3 comments · Fixed by #323
Assignees
Labels
bug Something isn't working

Comments

@loenvom
Copy link
Contributor

loenvom commented Mar 18, 2024

Description

Can not see the copy button when hover.
image
I checked the CSS declaration and it looks like the copy button should appear on hover, but it doesn't. I don't know if it's just me having this issue.

Steps To Reproduce

  1. open a page of hextra, like https://imfing.github.io/hextra/docs/guide/shortcodes/callout/#default.
  2. check the code part.
  3. move mouse cursor on the copy button.

Expected Behavior

display the copy button.

Actual Behavior

the copy button doesn't appear.

Screenshots

Environment

  • Browser/OS: [e.g., Chrome, Windows]
  • Theme Version: [e.g., v0.7.3]
@imfing imfing self-assigned this Mar 18, 2024
@imfing imfing added the bug Something isn't working label Mar 18, 2024
@imfing
Copy link
Owner

imfing commented Mar 18, 2024

I guess it's a bug introduced in #300

@loenvom
Copy link
Contributor Author

loenvom commented Mar 18, 2024

I also spent some time try to find out why, But I failed. 😫
I tried to change the "hx-opacity-0" to "hx-opacity-5". It works well, I can see a copy-button with opacity, and when I hover it, it changes it's opacity.

@imfing
Copy link
Owner

imfing commented Mar 18, 2024

Thanks for looking into it. #323 should address this issue

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants