Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[refactor] 그림일기 상태 저장 및 ai 크게보기 수정 #143

Closed
heedong12 opened this issue Aug 9, 2024 · 1 comment · Fixed by #155
Closed

[refactor] 그림일기 상태 저장 및 ai 크게보기 수정 #143

heedong12 opened this issue Aug 9, 2024 · 1 comment · Fixed by #155
Assignees
Labels

Comments

@heedong12
Copy link
Contributor

리팩토링 할 부분

  • 그리는 화면 페이지에서 페이지 이동 후 돌아오면 그림 남아있도록 수정
  • AI 그림받아서 확인 시 크기 조절 (패드에서 너무 작음, 크게 보기가 크게 보기가 아님)
@heedong12 heedong12 self-assigned this Aug 9, 2024
@Leewonchan14
Copy link
Member

Leewonchan14 commented Aug 11, 2024

// src/components/helpWithAi/chat/ImageBlock.jsx
preview={{
  mask: <span className={"text-xl font-bold"}>크게 보기</span>,
  toolbarRender: () => {},
  imageRender: (_, { image }) => (
    <img className={"scale-150"} src={image.url} alt="" />
  ),
}}

@heedong12
위처럼 작성시 크게 보기 1.5배 됩니다

Ant design Image 컴포넌트 공식문서

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants