chore(article-link): use old naming of css class name

though the new thumbnail--xxx naming is cleaner
but this kind of change should be postponed until a major release
This commit is contained in:
ZhenShuo Leo
2025-10-08 13:12:49 +08:00
parent a27d65ad36
commit 3918571644
7 changed files with 13 additions and 13 deletions
@@ -82,7 +82,7 @@
<article class="{{ $cardClasses }}">
{{ with $featuredURL }}
<div class="flex-none relative overflow-hidden {{ $imgWrapperClasses }} thumbnail--simple">
<div class="flex-none relative overflow-hidden {{ $imgWrapperClasses }} thumbnail">
<img
src="{{ . }}"
alt=""
@@ -53,7 +53,7 @@
<article
class="relative min-h-full min-w-full overflow-hidden rounded border border-2 border-neutral-200 shadow-2xl dark:border-neutral-700">
{{ with $featuredURL }}
<div class="flex-none relative overflow-hidden thumbnail--related">
<div class="flex-none relative overflow-hidden thumbnail_card_related">
<img
src="{{ . }}"
alt=""
+1 -1
View File
@@ -57,7 +57,7 @@
<article
class="relative min-h-full min-w-full overflow-hidden rounded border border-2 border-neutral-200 shadow-2xl dark:border-neutral-700">
{{ with $featuredURL }}
<div class="flex-none relative overflow-hidden thumbnail--card">
<div class="flex-none relative overflow-hidden thumbnail_card">
<img
src="{{ . }}"
alt=""
+1 -1
View File
@@ -75,7 +75,7 @@
<article class="{{ $cardClasses }}">
{{ with $featuredURL }}
<div class="flex-none relative overflow-hidden {{ $imgWrapperClasses }} thumbnail--simple">
<div class="flex-none relative overflow-hidden {{ $imgWrapperClasses }} thumbnail">
<img
src="{{ . }}"
alt=""
+1 -1
View File
@@ -28,7 +28,7 @@
<div class="min-w-full">
<div class="border-neutral-200 dark:border-neutral-700 border-2 rounded overflow-hidden shadow-2xl relative">
{{ with $featuredURL }}
<figure class="not-prose flex-none relative overflow-hidden thumbnail--card">
<figure class="not-prose flex-none relative overflow-hidden thumbnail_card">
<img
src="{{ . }}"
alt="{{ $.Page.Title }}"