omsimos / github-stats

:octocat: Generate your GitHub stats for your README with ease!
https://github-stats.omsimos.com
MIT License
116 stars 34 forks source link

Long coding language name out of range #10

Closed lin-tianyu closed 1 month ago

lin-tianyu commented 1 month ago

image

Hi author, love your work. But when I use it, there will be an out-of-range problem if the coding language is too long. (Ex: the Jyputer Notebook 2.0 shown above)

It would be nice if the stats could auto-adjust!

joshxfi commented 1 month ago

hello @lin-tianyu, thank you for your feedback and for bringing this issue to our attention. seems like we needed to put an option for card_width, we'll take note of this.

in the meantime, you can manually add &card_width={number} to your URL.

sample url: https://github-readme-stats.vercel.app/api/top-langs/?username=lin-tianyu&theme=default&show_icons=true&hide_border=true&layout=compact&card_width=350

preview: GitHub Stats

lin-tianyu commented 1 month ago

Thanks for your response!