Skip to content

Commit

Permalink
fix: tw-aspect-ration cannot use apply directive
Browse files Browse the repository at this point in the history
see the open issue of tailwindcss for details: tailwindlabs/tailwindcss#3360
  • Loading branch information
mattwang44 committed Jun 27, 2021
1 parent bf94a12 commit e9f51d7
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions components/core/embed/Youtube.vue
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<template>
<div class="video-container">
<div class="aspect-w-16 aspect-h-9">
<iframe
:src="`https://www.youtube.com/embed/${videoId}`"
frameborder="0"
Expand All @@ -17,9 +17,3 @@ export default {
},
}
</script>

<style lang="postcss" scoped>
.video-container {
@apply aspect-w-16 aspect-h-9;
}
</style>

0 comments on commit e9f51d7

Please sign in to comment.