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

Change target selector to get correct ::before #8

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

Thenakedgun
Copy link

When I trialed this example, I didn't see the text "Is it me you're looking for?" as the example would suggest, but instead "Aww, you came to see me!" This second string seems to come from the normal "style.css" file & didn't have anything to do with the example. I think to make this work, you'd need to change .smol-article-anchor:target::before to #smol-article-anchor-title:target::before.

I don't use GitHub much, so please forgive me if the way I've suggested this is abnormal; just tried to suggest the change via their UI. I got a link to your site from Kevin Powell's newsletter.

When I trialed this example, I didn't see the text "Is it me you're looking for?" as the example would suggest, but instead "Aww, you came to see me!" This second string seems to come from the normal "style.css" file & didn't have anything to do with the example. I think to make this work, you'd need to change .smol-article-anchor:target::before to #smol-article-anchor-title:target::before. 

I don't use GitHub much, so please forgive me if the way I've suggested this is abnormal; just tried to suggest the change via their UI. I got a link to your site from Kevin Powell's newsletter.
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.

1 participant