Skip to content

Commit

Permalink
fix: news gradient
Browse files Browse the repository at this point in the history
  • Loading branch information
qin-guan committed Sep 24, 2023
1 parent 8dc9479 commit 7f19290
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion components/app/home/news.vue
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ const { data: news, isLoading: newsIsLoading } = useNewsArticles()
</span>
<f7Card v-for="article in news" :key="article.id" class="m-0!">
<f7CardHeader class="h-45 rounded-[16px]! overflow-hidden bg-center bg-contain relative" valign="bottom" :style="`background-image: url(${article.heroImageUrl})`">
<div class="absolute inset-0 bg-gradient-to-b from-transparent to-black/70" />
<div class="absolute inset-0 bg-gradient-to-b from-transparent dark:to-black/70 to-white/70" />
<span class="z-10">
{{ article.title }}
</span>
Expand Down

0 comments on commit 7f19290

Please # to comment.