Skip to content

Commit

Permalink
fix: 🐛 Fixed "height" css style property (#275)
Browse files Browse the repository at this point in the history
  • Loading branch information
arb85 authored Sep 20, 2024
1 parent ff687c9 commit 017a86b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/runtime/components/ScriptYouTubePlayer.vue
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ const rootAttrs = computed(() => {
backgroundColor: 'black',
maxWidth: '100%',
width: `${props.width}px`,
height: `'auto'`,
height: 'auto',
aspectRatio: `${props.width}/${props.height}`,
},
...(trigger instanceof Promise ? trigger.ssrAttrs || {} : {}),
Expand Down

0 comments on commit 017a86b

Please sign in to comment.