@rgglez/astro-ytembed 0.1.2 → 0.1.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rgglez/astro-ytembed",
3
- "version": "0.1.2",
3
+ "version": "0.1.3",
4
4
  "description": "Embed YouTube videos in your Astro pages (Astro/MDX).",
5
5
  "type": "module",
6
6
  "exports": {
@@ -19,7 +19,7 @@ const { id, title } = Astro.props;
19
19
  ---
20
20
 
21
21
  <div class="mb-8">
22
- <div class="relative w-full overflow-hidden rounded-xl">
22
+ <div class="relative w-full overflow-hidden rounded-xl" style="padding-bottom: 100%;">
23
23
  <iframe
24
24
  class="absolute inset-0 w-full h-full"
25
25
  src={`https://www.youtube.com/embed/${id}`}