mirror of
https://github.com/brianlovin/security-checklist.git
synced 2026-03-11 08:55:31 +00:00
Small fixes
This commit is contained in:
parent
c7402ab95b
commit
8ba867fe5d
1 changed files with 4 additions and 4 deletions
|
|
@ -69,11 +69,11 @@ export function CircularParticle(props: Props) {
|
|||
node.style.top = window.innerHeight + generateWholeNumber(0, window.innerHeight) + 'px';
|
||||
node.style.left = left + generateWholeNumber(-LEFT_OFFSET, LEFT_OFFSET) + 'px';
|
||||
}
|
||||
},10);
|
||||
},0);
|
||||
});
|
||||
|
||||
return (
|
||||
<div ref={currentCircularConfetti} className='particle' style={style}/>
|
||||
<div ref={currentCircularConfetti} style={style}/>
|
||||
);
|
||||
}
|
||||
|
||||
|
|
@ -102,7 +102,7 @@ function SquiggleParticle(props: Props) {
|
|||
node.style.left = left + generateWholeNumber(-LEFT_OFFSET, LEFT_OFFSET) + 'px';
|
||||
node.style.transform = `rotateZ(${generateWholeNumber(...ROTATION_RANGE)}deg)`;
|
||||
}
|
||||
},10);
|
||||
},0);
|
||||
});
|
||||
|
||||
return (
|
||||
|
|
@ -131,7 +131,7 @@ export function Particles(props: ParticlesProps) {
|
|||
}
|
||||
|
||||
return (
|
||||
<ParticleZone className='particles'>
|
||||
<ParticleZone>
|
||||
{particles}
|
||||
</ParticleZone>
|
||||
);
|
||||
|
|
|
|||
Loading…
Reference in a new issue