Commit 62a7b915 authored by KesaubeEire's avatar KesaubeEire

fix: 重构参数调整.

parent cacf650f
...@@ -90,9 +90,9 @@ ...@@ -90,9 +90,9 @@
} }
</script> </script>
<div class="card w-80 bg-primary text-primary-content shadow-xl"> <div class="card w-80 bg-primary text-primary-content shadow-xl overflow-hidden">
<!-- NOTE: Cover --> <!-- NOTE: Cover -->
<figure class="relative"> <figure class="w-80 h-60 relative bg-neutral">
<!-- {#if !_picError} --> <!-- {#if !_picError} -->
<img <img
class="w-80 h-60 object-cover blur-lg" class="w-80 h-60 object-cover blur-lg"
...@@ -105,7 +105,7 @@ ...@@ -105,7 +105,7 @@
/> />
<!-- {/if} --> <!-- {/if} -->
<img <img
class="left-0 top-0 absolute w-80 h-60 object-contain" class="left-0 top-0 absolute w-80 h-60 object-contain border-neutral"
src={cover ?? '/favicon.ico'} src={cover ?? '/favicon.ico'}
alt={title ?? 'default alt'} alt={title ?? 'default alt'}
style={_picError ? 'height: 240px; width: 320px;' : ''} style={_picError ? 'height: 240px; width: 320px;' : ''}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment