mirror of
https://github.com/reiyua/github-profile-trophy-reiyua-mirror.git
synced 2026-11-17 06:02:09 +11:00
fix(typo): maxWidht -> maxWidth
This commit is contained in:
parent
d1afb967cd
commit
ae47c57a17
1 changed files with 3 additions and 3 deletions
|
|
@ -31,7 +31,7 @@ export const getNextRankBar = (
|
||||||
percentage: number,
|
percentage: number,
|
||||||
color: string,
|
color: string,
|
||||||
): string => {
|
): string => {
|
||||||
const maxWidht = 80;
|
const maxWidth = 80;
|
||||||
return `
|
return `
|
||||||
<style>
|
<style>
|
||||||
@keyframes ${title}RankAnimation {
|
@keyframes ${title}RankAnimation {
|
||||||
|
|
@ -39,7 +39,7 @@ export const getNextRankBar = (
|
||||||
width: 0px;
|
width: 0px;
|
||||||
}
|
}
|
||||||
to {
|
to {
|
||||||
width: ${maxWidht * percentage}px;
|
width: ${maxWidth * percentage}px;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
#${title}-rank-progress{
|
#${title}-rank-progress{
|
||||||
|
|
@ -50,7 +50,7 @@ export const getNextRankBar = (
|
||||||
x="15"
|
x="15"
|
||||||
y="101"
|
y="101"
|
||||||
rx="1"
|
rx="1"
|
||||||
width="${maxWidht}"
|
width="${maxWidth}"
|
||||||
height="3.2"
|
height="3.2"
|
||||||
opacity="0.3"
|
opacity="0.3"
|
||||||
fill="${color}"
|
fill="${color}"
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue