mirror of
https://github.com/nuxt/nuxt.git
synced 2024-11-25 23:22:02 +00:00
Merge ca6cbd1ad6
into edc299a043
This commit is contained in:
commit
5d5a77bf91
@ -50,7 +50,7 @@ export default defineComponent({
|
|||||||
pointerEvents: 'none',
|
pointerEvents: 'none',
|
||||||
width: 'auto',
|
width: 'auto',
|
||||||
height: `${props.height}px`,
|
height: `${props.height}px`,
|
||||||
opacity: isLoading.value ? 1 : 0,
|
opacity: 1,
|
||||||
background: error.value ? props.errorColor : props.color || undefined,
|
background: error.value ? props.errorColor : props.color || undefined,
|
||||||
backgroundSize: `${(100 / progress.value) * 100}% auto`,
|
backgroundSize: `${(100 / progress.value) * 100}% auto`,
|
||||||
transform: `scaleX(${progress.value}%)`,
|
transform: `scaleX(${progress.value}%)`,
|
||||||
|
Loading…
Reference in New Issue
Block a user