Skip to content

Commit 017a86b

Browse files
authored
fix: 🐛 Fixed "height" css style property (#275)
1 parent ff687c9 commit 017a86b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/runtime/components/ScriptYouTubePlayer.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,7 @@ const rootAttrs = computed(() => {
116116
backgroundColor: 'black',
117117
maxWidth: '100%',
118118
width: `${props.width}px`,
119-
height: `'auto'`,
119+
height: 'auto',
120120
aspectRatio: `${props.width}/${props.height}`,
121121
},
122122
...(trigger instanceof Promise ? trigger.ssrAttrs || {} : {}),

0 commit comments

Comments
 (0)