mirror of
https://github.com/nuxt/nuxt.git
synced 2024-11-22 05:35:13 +00:00
Update nuxt-loading-indicator.ts
Opacity controlling is unnecessary here to avoid hydration issue.
This commit is contained in:
parent
cf39600d52
commit
ca6cbd1ad6
@ -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}%)`,
|
||||
|
Loading…
Reference in New Issue
Block a user