ryo-ma / github-profile-trophy

🏆 Add dynamically generated GitHub Stat Trophies on your readme
https://github-profile-trophy.vercel.app
MIT License
5.13k stars 754 forks source link

Could not center trophies #278

Open Jay-Karia opened 1 month ago

Jay-Karia commented 1 month ago

After filtering trophies, I could not center the trophies as it occupies same width previously without filter.

trophies issue

Adding a parameter like &center=true would be better.

eduardblbulyan commented 1 month ago

You should specify your trophies seperately and add parameter column=-1 to avoid extra space.Like this `

<p align="center">
  <a href="https://github.com/eduardblbulyan">
    <img src="https://github-profile-trophy.vercel.app/?username=USERNAME&theme=SOME_THEME&column=-1&title=Repositories,Commits" alt="USERNAME" />
  </a>
</p>
eduardblbulyan commented 1 month ago

You can check it in my page too

Jay-Karia commented 1 month ago

Yeah, your solution works. It would be better to add a new parameter center to center trophies.

github-actions[bot] commented 1 week ago

This issue is stale because it has been open for 30 days with no activity.