repo card: lowercase labels, fix extra height
This commit is contained in:
@@ -186,7 +186,7 @@ const renderRepoCard = (repo, options = {}) => {
|
||||
.join("");
|
||||
|
||||
const extraHeight = Object.keys(STATS).length
|
||||
? 45 + (statItems.length + 1) * extraLHeight
|
||||
? -7 + (statItems.length + 1) * extraLHeight
|
||||
: 0;
|
||||
const height =
|
||||
(descriptionLinesCount > 1 ? 120 : 110) +
|
||||
|
||||
+5
-5
@@ -467,19 +467,19 @@ const repoCardLocales = {
|
||||
se: "Arkiverade",
|
||||
},
|
||||
"repocard.prs-authored": {
|
||||
en: "my Created PRs",
|
||||
en: "my created PRs",
|
||||
},
|
||||
"repocard.prs-commented": {
|
||||
en: "my Commented PRs",
|
||||
en: "my commented PRs",
|
||||
},
|
||||
"repocard.prs-reviewed": {
|
||||
en: "my Reviewed PRs",
|
||||
en: "my reviewed PRs",
|
||||
},
|
||||
"repocard.issues-authored": {
|
||||
en: "my Created Issues",
|
||||
en: "my created issues",
|
||||
},
|
||||
"repocard.issues-commented": {
|
||||
en: "my Commented Issues",
|
||||
en: "my commented issues",
|
||||
},
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user