libreria-astro-lefebvre 0.1.74 → 0.1.75
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
|
@@ -45,14 +45,14 @@ const randomId = Math.floor(Math.random() * 1000);
|
|
|
45
45
|
|
|
46
46
|
<div class="w-full md:w-1/2 flex items-center justify-end">
|
|
47
47
|
{videoUrl ? (
|
|
48
|
-
<video autoplay loop muted playsinline preload="metadata" class="w-full
|
|
48
|
+
<video autoplay loop muted playsinline preload="metadata" class="w-full h-auto object-cover rounded-lg">
|
|
49
49
|
<source src={videoUrl} type="video/mp4" />
|
|
50
50
|
</video>
|
|
51
51
|
) : (
|
|
52
52
|
<img
|
|
53
53
|
src={imageUrl}
|
|
54
54
|
alt={altImage}
|
|
55
|
-
class="w-full
|
|
55
|
+
class="w-full h-auto object-cover rounded-lg"
|
|
56
56
|
loading={loading}
|
|
57
57
|
/>
|
|
58
58
|
)}
|