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

REV-393/생성 및 결과 페이지 폰트 크기 수정 #101

Merged

Conversation

hyoribogo
Copy link
Member

📑 구현 내용


모든 텍스트에 줄바꿈 적용해버렸습니다.

  textarea,
  p,
  h1,
  h2,
  h3,
  h4,
  h5,
  h6,
  span {
    word-break: break-all;
    white-space: pre-wrap;
  }

image
테일윈드 폰트 종류 추가했습니다.

interface ReviewInfoProps {
  title: string
  description: string
}

const ReviewInfo = ({ title, description }: ReviewInfoProps) => {
  return (
    <div>
      <h1 className="text-3xl font-bold text-black dark:text-white md:text-4xl">
        {title}
      </h1>
      <p className="mt-[0.63rem] whitespace-pre-line text-base text-black dark:text-white md:text-xl">
        {description}
      </p>
    </div>
  )
}

export default ReviewInfo

ReviewInfo 컴포넌트 추가했습니다.

<ReviewInfo {...{ title, description }} />

이렇게 사용하면 끝!

🚧 참고 사항


@hyoribogo hyoribogo added 리팩토링 리팩토링을 위한 이슈입니다. 스타일 스타일과 관련된 작업입니다. 세팅 세팅에 관련된 작업입니다. labels Dec 3, 2023
@hyoribogo hyoribogo self-assigned this Dec 3, 2023
Copy link
Collaborator

@hayamaster hayamaster left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ReviewInfo 잘 빼주신 것 같아요! 저도 merge 후 리펙토링 해두어야겠네요!
고생하셨습니다!

@hyoribogo hyoribogo merged commit ca179c7 into develop Dec 3, 2023
1 check passed
@hyoribogo hyoribogo deleted the REV-393/생성-및-결과-페이지-폰트-크기-수정 branch December 3, 2023 15:05
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 this pull request may close these issues.

2 participants