Fix pixel glitch on hover for Mauritius and Retro themes
📝 Making another type of change?
What does this PR change?
Fixes a pixel glitch that appeared on hover for Mauritius and Retro theme cards, caused by a margin gap exposing the card's background color.
Why?
Resolves #4667
Type of change
- [x] Bug fix
Checklist
- [x] I've linked the relevant issue above
- [x] My changes only touch the files relevant to this PR
- [x] I've tested locally where applicable
Hi @Drishtyaggarwal! 👋
This PR changes files outside the cards/ directory:
assets/style.cssassets/themes.css
Please submit a PR that only adds your card at cards/your-github-username.html. Any other changes need a separate PR with a linked issue first.
"This PR is linked to issue #4667 which I was assigned to. The changes to assets/style.css and assets/themes.css are the actual bug fix."
Hi @Drishtyaggarwal! 👋
This PR changes files outside the cards/ directory:
assets/style.cssassets/themes.css
Please submit a PR that only adds your card at cards/your-github-username.html. Any other changes need a separate PR with a linked issue first.
Hi @Drishtyaggarwal! 👋
This PR changes files outside the cards/ directory:
assets/style.cssassets/themes.css
Please submit a PR that only adds your card at cards/your-github-username.html. Any other changes need a separate PR with a linked issue first.
Fixed the ampersand encoding issue and the Mauritius theme glitch in the Fetched From section. Ready for re-review!
Hi @Drishtyaggarwal! 👋
This PR changes files outside the cards/ directory:
assets/style.cssassets/themes.css
Please submit a PR that only adds your card at cards/your-github-username.html. Any other changes need a separate PR with a linked issue first.
Hi! I solved the glitch without deleting the original code and avoiding !important. Hope it's better. Please give your feedback after reviewing, and if there's any problem, feel free to ask me to resolve it.
This PR has had no activity for 21 days. Please push a fix to address the requested changes — otherwise it will be closed in 21 days. The bot comment on your PR explains exactly what needs fixing.
This PR was closed due to 42 days of inactivity after changes were requested. Feel free to open a new PR once the issues are resolved.
Hi @Drishtyaggarwal,
Really sorry for the late review,
Currently that issue is gone but there is another issue raised in your PR
The fetched from file name is not visible in Retro theme
I guess it's cause of you've removed some css properties and changed theme colors
check the card template and confirm which theme variable supplies the color and restore it.
Regards, @kuramaSeige-OFC
Hi @Drishtyaggarwal! 👋
This PR changes files outside the cards/ directory:
assets/style.cssassets/themes.css
Please submit a PR that only adds your card at cards/your-github-username.html. Any other changes need a separate PR with a linked issue first.
its okay, ill review it know
Hi @Drishtyaggarwal! 👋
This PR changes files outside the cards/ directory:
assets/style.cssassets/themes.css
Please submit a PR that only adds your card at cards/your-github-username.html. Any other changes need a separate PR with a linked issue first.
Hi @kuramaSeige-OFC, thanks for pointing this out! 🙌
You were right — it was a CSS variable issue. In the Retro theme, the fetched-from filename link was using --color-primary ( #3a6ea5), which is the same color as the card background, so it was invisible. I've added an explicit color: #fff override for .card p small a in the Retro theme (similar to how it's already handled in the Classic theme), and pushed the fix — it's now part of this PR.
Please let me know if you'd like any changes!
Hi @Drishtyaggarwal! 👋
This PR changes files outside the cards/ directory:
assets/style.cssassets/themes.css
Please submit a PR that only adds your card at cards/your-github-username.html. Any other changes need a separate PR with a linked issue first.