Skip to content

Commit

Permalink
fix: 点击站点logo或打赏图片不会触发全屏预览 #172
Browse files Browse the repository at this point in the history
  • Loading branch information
Mereithhh committed Mar 22, 2023
1 parent d58aeb8 commit ce90009
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 21 deletions.
8 changes: 1 addition & 7 deletions packages/website/components/NavBar/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -97,13 +97,7 @@ export default function (props: {
</div>
{props.headerLeftContent == "siteLogo" && (
<div className="hidden md:block transform translate-x-2">
<ImageBoxFuture
alt="site logo"
src={picUrl}
width={52}
height={52}
className={""}
></ImageBoxFuture>
<img alt="site logo" src={picUrl} width={52} height={52} className="" />
</div>
)}
</div>
Expand Down
16 changes: 2 additions & 14 deletions packages/website/components/Reward/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -51,21 +51,9 @@ export default function (props: {
}}
>
<div className="flex justify-center">
<ImageBoxFuture
alt="logo ali pay"
src={payUrl[0]}
width={180}
height={250}
className={undefined}
></ImageBoxFuture>
<img alt="ali pay" src={payUrl[0]} width={180} height={250} />
<div className="w-4 inline-block"></div>
<ImageBoxFuture
alt="logo wechat pay"
className={undefined}
src={payUrl[1]}
width={180}
height={250}
></ImageBoxFuture>
<img alt="wechat pay" src={payUrl[1]} width={180} height={250} />
</div>
</div>
</>
Expand Down

0 comments on commit ce90009

Please sign in to comment.