🔨 decrese the card shadow and remove image shadow

This commit is contained in:
sevichecc 2023-01-30 13:42:38 +08:00
parent 34a9bb8bc7
commit 40468ba170
Signed by untrusted user who does not match committer: SevicheCC
GPG key ID: C577000000000000

View file

@ -38,7 +38,7 @@
class:group={preview}
class:image-full={preview && post.type === 'article' && post.image}
class:before:!rounded-none={preview && post.image}
class="h-entry card bg-base-100 rounded-none md:rounded-box md:shadow-xl overflow-hidden z-10 heti">
class="h-entry card bg-base-100 rounded-none md:rounded-box md:shadow-lg md:shadow-grey-10 overflow-hidden z-10">
{#if !preview && postConfig.bridgy}
<div id="bridgy" class="hidden">
{#each post.flags?.some( flag => flag.startsWith('bridgy') ) ? post.flags.flatMap( flag => (flag.startsWith('bridgy') ? flag.slice(7) : []) ) : [...(postConfig.bridgy.post ?? []), ...(postConfig.bridgy[post.type] ?? [])] as target}
@ -72,8 +72,7 @@
<div class="flex flex-col gap-2">
{#if post.image && !preview}
<figure
class={`md:order-last rounded-box shadow-xl mb-4 ${
post.type === 'article' ? 'flex-col gap-2 -mx-4 -mt-8 md:mt-0' : 'flex-col -mx-8'
class={`md:order-last rounded-lg mb-4 ${post.type === 'article' ? 'flex-col gap-2 -mt-8 md:mt-0' : 'flex-col -mx-8'}'
}`}>
<Image
class={`${post.type === 'article' ? 'u-featured' : 'u-photo'}`}