libreria-astro-lefebvre 0.1.39 → 0.1.40

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": "libreria-astro-lefebvre",
3
- "version": "0.1.39",
3
+ "version": "0.1.40",
4
4
  "description": "Librería de componentes Astro, React y Vue para Lefebvre",
5
5
  "author": "Equipo web desarrollo Lefebvre",
6
6
  "type": "module",
@@ -16,7 +16,7 @@ const imageUrl = extractImageUrl(image);
16
16
  ---
17
17
 
18
18
  <div class="w-full flex flex-col px-0">
19
- <article class="w-full md:max-w-[400px] h-full flex flex-col rounded-lg border border-gray-200 items-center shadow-article hover:bg-gradient-to-r from-[#001978] via-[#2134F1] to-[#F81BBD] transition-all duration-300 p-px">
19
+ <article class="relative w-full md:max-w-[400px] h-full flex flex-col rounded-lg border border-gray-200 items-center shadow-article hover:bg-gradient-to-r from-[#001978] via-[#2134F1] to-[#F81BBD] transition-all duration-300 p-px">
20
20
  <div class="w-full bg-white mt-px rounded-tl-[7px] rounded-tr-[7px] h-full">
21
21
  <div class="w-full">
22
22
  <img class="cursor-pointer rounded-tr-lg rounded-tl-lg mx-auto w-full" src={imageUrl} alt={altImage} width="400" height="225" loading="lazy" />
@@ -25,7 +25,7 @@ const imageUrl = extractImageUrl(image);
25
25
  {tag && tag !== '' && <Titulo_2025_Santorini description={tag} />}
26
26
  <div class="mt-2 flex flex-col items-start gap-2 flex-grow">
27
27
  <div class="flex flex-col text-[#262626] h-full">
28
- <a href={link} class="cursor-pointer no-underline"><h3 class="font-poppins text-xl font-semibold text-[#262626] overflow-hidden text-ellipsis mb-2">{title}</h3></a>
28
+ <a href={link} class="cursor-pointer no-underline after:absolute after:inset-0 after:content-['']"><h3 class="font-poppins text-xl font-semibold text-[#262626] overflow-hidden text-ellipsis mb-2">{title}</h3></a>
29
29
  <p class="font-inter text-base font-normal text-[#363942] overflow-hidden text-ellipsis mb-2">{description}</p>
30
30
  {author && author !== '' &&
31
31
  <p class="font-inter text-base font-normal mt-6 text-[#363942] text-left"><span class="text-[#363942]">Por {author}</span></p>