Skip to content

Commit

Permalink
fix(VProgressLinear): only apply locationStyles when absolute
Browse files Browse the repository at this point in the history
  • Loading branch information
johnleider committed Apr 23, 2024
1 parent 78fa9b9 commit 3d810e1
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -124,7 +124,7 @@ export const VProgressLinear = genericComponent<VProgressLinearSlots>()({
top: props.location === 'top' ? 0 : undefined,
height: props.active ? convertToUnit(height.value) : 0,
'--v-progress-linear-height': convertToUnit(height.value),
...locationStyles.value,
...(props.absolute ? locationStyles.value : {}),
},
props.style,
]}
Expand Down

0 comments on commit 3d810e1

Please sign in to comment.