Skip to content

Commit b7ea23e

Browse files
committed
refactor: 预览图片默认添加白色背景色
1 parent 6fd240a commit b7ea23e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/react-photo-view/src/Photo.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ export default function Photo({
5858
<>
5959
<img
6060
css={[
61-
tw`cursor-grab active:cursor-grabbing`,
61+
tw`cursor-grab active:cursor-grabbing bg-white`,
6262
css`
6363
max-width: initial;
6464
`,

0 commit comments

Comments
 (0)