Skip to content

Commit 0663087

Browse files
authored
fix: correctly align regular card content (#286)
1 parent 1599575 commit 0663087

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

libs/blog/articles/ui-article-card/src/lib/components/article-regular-card/article-regular-card.component.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<a [routerLink]="['/', article().slug] | alLocalize">
22
<article
3-
class="md:hover:shadow-al-primary group relative grid h-full w-full rounded-lg border border-transparent shadow-none transition-transform motion-reduce:transition-none lg:hover:scale-105 lg:motion-reduce:hover:scale-100"
3+
class="bg-al-card md:hover:shadow-al-primary group relative h-full w-full rounded-lg border border-transparent shadow-none transition-transform motion-reduce:transition-none lg:hover:scale-105 lg:motion-reduce:hover:scale-100"
44
[attr.aria-labelledby]="article().slug"
55
>
66
<div
@@ -9,13 +9,13 @@
99

1010
<img
1111
alt="Post featured image"
12-
class="h-full w-full overflow-hidden rounded-t-lg object-cover"
12+
class="w-full overflow-hidden rounded-t-lg object-cover"
1313
[ngSrc]="article().featuredImageUrl || 'assets/article-placeholder.webp'"
1414
[priority]="imagePriority()"
1515
width="1215"
1616
height="750"
1717
/>
18-
<div class="bg-al-card h-full rounded-b-lg">
18+
<div class="rounded-b-lg">
1919
<div class="flex items-center justify-between px-4 pt-4">
2020
<div class="flex items-center gap-2">
2121
<al-avatar

0 commit comments

Comments
 (0)