mirror of
https://github.com/toeverything/AFFiNE.git
synced 2024-12-29 18:21:57 +03:00
fix: size of svg image
This commit is contained in:
parent
600adb3dd7
commit
7d3ae9a0c9
@ -28,7 +28,7 @@ export const NotfoundPage = () => {
|
||||
const router = useRouter();
|
||||
return (
|
||||
<StyledContainer data-testid="notFound">
|
||||
<Image alt="404" src="/imgs/invite-error.svg"></Image>
|
||||
<Image alt="404" src="/imgs/invite-error.svg" width={360} height={270} />
|
||||
|
||||
<p>{t('404 - Page Not Found')}</p>
|
||||
<Button
|
||||
|
@ -29,7 +29,13 @@ const InvitePage: NextPageWithLayout = () => {
|
||||
if (inviteData?.accepted) {
|
||||
return (
|
||||
<StyledContainer>
|
||||
<Image src="/imgs/invite-success.svg" alt="" />
|
||||
<Image
|
||||
src="/imgs/invite-success.svg"
|
||||
alt=""
|
||||
layout="fill"
|
||||
width={300}
|
||||
height={300}
|
||||
/>
|
||||
<Button
|
||||
type="primary"
|
||||
shape="round"
|
||||
|
Loading…
Reference in New Issue
Block a user