mirror of
https://github.com/saicaca/fuwari.git
synced 2026-01-11 23:02:53 +01:00
feat: minor style fixes
(cherry picked from commit d09df23d1c42539bf1102600aca2d8f1713142d4)
This commit is contained in:
@@ -9,7 +9,7 @@ const {id, src, alt} = Astro.props;
|
||||
const className = Astro.props.class;
|
||||
---
|
||||
<div class:list={[className, 'overflow-hidden relative']}>
|
||||
<div class="transition absolute top-0 bottom-0 left-0 right-0 dark:bg-black/10 bg-opacity-50"></div>
|
||||
<div class="transition absolute inset-0 dark:bg-black/10 bg-opacity-50"></div>
|
||||
<img src={src} alt={alt} class="w-full h-full object-center object-cover">
|
||||
</div>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user