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

Make heading permalink hashes hidden when not hovered #1519

Merged
merged 3 commits into from Feb 2, 2024

Conversation

caendesilva
Copy link
Member

@caendesilva caendesilva commented Feb 2, 2024

Should fix a bug where crawlers like Google Bot thinks this is a part of the heading, leading to it being visible in search results.

image

Adding display: hidden would likely solve this, but that breaks the transition. Using visibility modifiers should work the same, but retain the existing visual behaviour.

image

Should fix a bug where crawlers like Google Bot thinks this is a part of the heading, leading to it being visible in search results.
@caendesilva caendesilva marked this pull request as ready for review February 2, 2024 17:43
Copy link

codecov bot commented Feb 2, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (0aca811) 100.00% compared to head (85177f4) 100.00%.

Additional details and impacted files
@@              Coverage Diff              @@
##              master     #1519     +/-   ##
=============================================
  Coverage     100.00%   100.00%             
- Complexity      1740      3480   +1740     
=============================================
  Files            180       360    +180     
  Lines           4715      9430   +4715     
=============================================
+ Hits            4715      9430   +4715     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@caendesilva caendesilva merged commit ec26cfa into master Feb 2, 2024
19 checks passed
@caendesilva caendesilva deleted the make-invisible-permalinks-hidden branch February 2, 2024 19:18
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

Successfully merging this pull request may close these issues.

None yet

1 participant