Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit55f1e2d

Browse files
committed
fix: removed isLongLocale param
1 parent91dbebe commit55f1e2d

File tree

1 file changed

+1
-15
lines changed

1 file changed

+1
-15
lines changed

‎src/cards/stats-card.js‎

Lines changed: 1 addition & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -137,19 +137,6 @@ const renderStatsCard = (stats = {}, options = { hide: [] }) => {
137137
},
138138
};
139139

140-
constlongLocales=[
141-
"cn",
142-
"es",
143-
"fr",
144-
"pt-br",
145-
"ru",
146-
"uk-ua",
147-
"id",
148-
"my",
149-
"pl",
150-
];
151-
constisLongLocale=longLocales.includes(locale)===true;
152-
153140
// filter out hidden stats defined by user & create the text nodes
154141
conststatItems=Object.keys(STATS)
155142
.filter((key)=>!hide.includes(key))
@@ -159,8 +146,7 @@ const renderStatsCard = (stats = {}, options = { hide: [] }) => {
159146
...STATS[key],
160147
index,
161148
showIcons:show_icons,
162-
shiftValuePos:
163-
(!include_all_commits ?50 :20)+(isLongLocale ?50 :0),
149+
shiftValuePos:100,
164150
}),
165151
);
166152

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp