Skip to content

Commit e9aa5b9

Browse files
mattwang44Flynn Hou
authored and
Flynn Hou
committed
fix: tw-aspect-ration cannot use apply directive
see the open issue of tailwindcss for details: tailwindlabs/tailwindcss#3360
1 parent bf94a12 commit e9aa5b9

File tree

1 file changed

+1
-7
lines changed

1 file changed

+1
-7
lines changed

components/core/embed/Youtube.vue

+1-7
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<template>
2-
<div class="video-container">
2+
<div class="aspect-w-16 aspect-h-9">
33
<iframe
44
:src="`https://www.youtube.com/embed/${videoId}`"
55
frameborder="0"
@@ -17,9 +17,3 @@ export default {
1717
},
1818
}
1919
</script>
20-
21-
<style lang="postcss" scoped>
22-
.video-container {
23-
@apply aspect-w-16 aspect-h-9;
24-
}
25-
</style>

0 commit comments

Comments
 (0)