Compare commits

...

2 Commits

Author SHA1 Message Date
Haradhan Sharma
800cf7b8b2
Merge ca6cbd1ad6 into b0729241bc 2025-02-18 06:13:47 +01:00
Haradhan Sharma
ca6cbd1ad6
Update nuxt-loading-indicator.ts
Opacity controlling is unnecessary here to avoid hydration issue.
2024-10-29 16:23:29 +06:00

View File

@ -50,7 +50,7 @@ export default defineComponent({
pointerEvents: 'none',
width: 'auto',
height: `${props.height}px`,
opacity: isLoading.value ? 1 : 0,
opacity: 1,
background: error.value ? props.errorColor : props.color || undefined,
backgroundSize: `${(100 / progress.value) * 100}% auto`,
transform: `scaleX(${progress.value}%)`,