github-readme-stats/api
Artem Kostiuk b0bb994ad3
Fix #1170: Allow customizable width for GitHub Stats Card (#1334)
* Change default stats card width with hide rank

* Add tests for stats card with card_width

* Add card_width Stats Card description to readme

* fix: add icon width to stats-card min width calculation

* fix: fixes rank circle padding problem

This commit fixes a padding problem that was introduced in
f9c0e0bff6. In the new code, the padding
around the rank circle will be 50 when the stats card is bigger than
450. When it is smaller than 450 the left and right padding will shrink
equally.

* style: run prettier

* tests: add extra stats 'card_width' tests

This commit makes sure we also test the stats card width for the case that the 'show_icons'
option is enabled.

* style: run prettier

Co-authored-by: rickstaa <rick.staa@outlook.com>
2022-09-16 12:50:30 +02:00
..
index.js Fix #1170: Allow customizable width for GitHub Stats Card (#1334) 2022-09-16 12:50:30 +02:00
pin.js fix: temporarily increase the cache hours (#1771) 2022-05-19 00:48:26 +05:30
top-langs.js fix: temporarily increase the cache hours (#1771) 2022-05-19 00:48:26 +05:30
wakatime.js fix: temporarily increase the cache hours (#1771) 2022-05-19 00:48:26 +05:30