Contribute-To-This-Project icon indicating copy to clipboard operation
Contribute-To-This-Project copied to clipboard

Fix pixel glitch on hover for Mauritius and Retro themes

Open Drishtyaggarwal opened this issue 5 months ago • 7 comments

📝 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

Drishtyaggarwal avatar Jun 19 '26 09:06 Drishtyaggarwal

Hi @Drishtyaggarwal! 👋

This PR changes files outside the cards/ directory:

  • assets/style.css
  • assets/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.

github-actions[bot] avatar Jun 19 '26 09:06 github-actions[bot]

"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."

Drishtyaggarwal avatar Jun 19 '26 09:06 Drishtyaggarwal

Hi @Drishtyaggarwal! 👋

This PR changes files outside the cards/ directory:

  • assets/style.css
  • assets/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.

github-actions[bot] avatar Jun 20 '26 10:06 github-actions[bot]

Hi @Drishtyaggarwal! 👋

This PR changes files outside the cards/ directory:

  • assets/style.css
  • assets/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.

github-actions[bot] avatar Jun 20 '26 10:06 github-actions[bot]

Fixed the ampersand encoding issue and the Mauritius theme glitch in the Fetched From section. Ready for re-review!

Drishtyaggarwal avatar Jun 20 '26 10:06 Drishtyaggarwal

Hi @Drishtyaggarwal! 👋

This PR changes files outside the cards/ directory:

  • assets/style.css
  • assets/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.

github-actions[bot] avatar Jun 21 '26 07:06 github-actions[bot]

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.

Drishtyaggarwal avatar Jun 21 '26 07:06 Drishtyaggarwal

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.

github-actions[bot] avatar Jul 13 '26 04:07 github-actions[bot]

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.

github-actions[bot] avatar Aug 03 '26 05:08 github-actions[bot]

Hi @Drishtyaggarwal,

Really sorry for the late review,

Currently that issue is gone but there is another issue raised in your PR

image

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

kuramaSeige-OFC avatar Aug 21 '26 13:08 kuramaSeige-OFC

Hi @Drishtyaggarwal! 👋

This PR changes files outside the cards/ directory:

  • assets/style.css
  • assets/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.

github-actions[bot] avatar Aug 21 '26 13:08 github-actions[bot]

its okay, ill review it know

Drishtyaggarwal avatar Aug 31 '26 15:08 Drishtyaggarwal

Hi @Drishtyaggarwal! 👋

This PR changes files outside the cards/ directory:

  • assets/style.css
  • assets/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.

github-actions[bot] avatar Aug 31 '26 15:08 github-actions[bot]

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!

Drishtyaggarwal avatar Aug 31 '26 15:08 Drishtyaggarwal

Hi @Drishtyaggarwal! 👋

This PR changes files outside the cards/ directory:

  • assets/style.css
  • assets/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.

github-actions[bot] avatar Aug 31 '26 15:08 github-actions[bot]