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

Docs issue: Can't select text of highlighted code lines #171

Closed
mikeybinns opened this issue May 17, 2021 · 1 comment
Closed

Docs issue: Can't select text of highlighted code lines #171

mikeybinns opened this issue May 17, 2021 · 1 comment

Comments

@mikeybinns
Copy link
Contributor

Currently the highlighting of code lines in the docs prevents text select, as the pseudo element :after is technically on top of the text in the stacking context.

You can fix it by adding this to your css:

.codeblock-line[data-highlight="true"]:after {
  pointer-events: none;
}
@machour
Copy link
Collaborator

machour commented Mar 15, 2022

This is working as expected now.

@machour machour closed this as completed Mar 17, 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