github-readme-stats/tests
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
..
__snapshots__ feat: added accessibility label and title in svg (#1787) 2022-05-26 21:59:51 +05:30
api.test.js fix: temporarily increase the cache hours (#1771) 2022-05-19 00:48:26 +05:30
calculateRank.test.js feat: added repo card hide border option (#488) 2020-09-24 21:38:14 +05:30
card.test.js test: fix gradient test by using more specific querySelector (#1954) 2022-08-17 23:22:52 +02:00
fetchRepo.test.js refactor: refactor repo card (#1325) 2021-09-26 21:02:27 +05:30
fetchStats.test.js fix: hotfix for graphql api error (#1409) 2021-10-23 13:50:33 +05:30
fetchTopLanguages.test.js Add prettier check to CI (#1999) 2022-09-06 09:09:45 +02:00
fetchWakatime.test.js Add prettier check to CI (#1999) 2022-09-06 09:09:45 +02:00
flexLayout.test.js feat(layout): improve flexLayout & fixed layout overlaps (#1314) 2021-09-18 22:39:28 +05:30
pin.test.js refactor: refactor repo card (#1325) 2021-09-26 21:02:27 +05:30
renderRepoCard.test.js feat: improve default card black color, a more modern color (#1624) 2022-03-01 01:19:34 +05:30
renderStatsCard.test.js Fix #1170: Allow customizable width for GitHub Stats Card (#1334) 2022-09-16 12:50:30 +02:00
renderTopLanguages.test.js feat: add min width languages card (#1953) 2022-08-18 10:32:03 +02:00
renderWakatimeCard.test.js Add prettier check to CI (#1999) 2022-09-06 09:09:45 +02:00
retryer.test.js feat: added repo card hide border option (#488) 2020-09-24 21:38:14 +05:30
top-langs.test.js feat: added repo card hide border option (#488) 2020-09-24 21:38:14 +05:30
utils.test.js fix: word-wrap bug (#1378) 2021-10-18 19:11:50 +05:30