mirror of
https://github.com/System-End/github-readme-stats.git
synced 2026-04-19 21:05:16 +00:00
* 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 f9c0e0bff64f325235ccbf936c9d5f7a918ac790. 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> |
||
|---|---|---|
| .. | ||
| __snapshots__ | ||
| api.test.js | ||
| calculateRank.test.js | ||
| card.test.js | ||
| fetchRepo.test.js | ||
| fetchStats.test.js | ||
| fetchTopLanguages.test.js | ||
| fetchWakatime.test.js | ||
| flexLayout.test.js | ||
| pin.test.js | ||
| renderRepoCard.test.js | ||
| renderStatsCard.test.js | ||
| renderTopLanguages.test.js | ||
| renderWakatimeCard.test.js | ||
| retryer.test.js | ||
| top-langs.test.js | ||
| utils.test.js | ||