修复图片问题

This commit is contained in:
al 2024-12-26 20:09:06 +08:00
parent 1441c09f48
commit 25167e97e3
2 changed files with 3 additions and 3 deletions

View File

@ -394,8 +394,8 @@ const ImagesMaskContaint = forwardRef(
/> */}
<OwnImage
draggable={true}
className="h-full m-auto"
outClassName="h-full"
className="h-full w-full m-auto"
outClassName="h-full w-full"
src={item.url}
style={{
filter: item.type == "hid" ? "blur(10px)" : "none",

View File

@ -13,7 +13,7 @@ export default function OwnImage({
const loadingImage = useMemo(
() => (
<div
className={`w-full h-full bg-gray-500 absolute top-0 z-0 animate-pulse ${
className={`bg-gray-700 absolute top-0 z-0 animate-pulse ${
roundedFull ? "rounded-full" : rounded
}`}
/>