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

#798 방 이름이 길 때 인원수 표시가 찌그러짐 #799

Merged

Conversation

jinhyeonkwon
Copy link
Contributor

Summary

It closes #798

Room 컴포넌트에서, 방 이름에 해당하는 스타일과 인원 수 태그에 해당하는 스타일을 고쳐서,

  • 방 이름은 : flexShrink는 1로, flexGrow는 0으로
  • 인원 수 태그는 : 둘 다 0으로
    설정하여 태그는 원래의 크기를 항상 유지하며, 방 이름이 카드 크기나 방 이름의 길이에 맞추어 줄어들도록 하였습니다.

Images or Screenshots

image

Further Work

테스트를 위해 긴 이름의 방을 생성할 때, 우리가 채팅창에서 긴 채팅은 아예 입력되지 않게 한 것처럼 방 이름도 입력하는 칸에서부터 글자 수 제한을 적용하면 어떨까 합니다 (현재는 올바르지 않은 방 이름이라고 생성 버튼이 비활성화되는 방식입니다)

@jinhyeonkwon jinhyeonkwon added the 😱 bug Something isn't working label Jul 19, 2024
@jinhyeonkwon jinhyeonkwon self-assigned this Jul 19, 2024
@jinhyeonkwon jinhyeonkwon linked an issue Jul 19, 2024 that may be closed by this pull request
Copy link

netlify bot commented Jul 19, 2024

Deploy Preview for taxi-dev-preview ready!

Name Link
🔨 Latest commit e0db1dd
🔍 Latest deploy log https://app.netlify.com/sites/taxi-dev-preview/deploys/669a5415306cf40008a46247
😎 Deploy Preview https://deploy-preview-799--taxi-dev-preview.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

@jinhyeonkwon jinhyeonkwon changed the title fix: add flexGrow and flexShrink to room name and tag #798 방 이름이 길 때 인원수 표시가 찌그러짐 Jul 19, 2024
Copy link
Member

@kmc7468 kmc7468 left a comment

Choose a reason for hiding this comment

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

오! 수정 감사합니다! LGTM!

@jinhyeonkwon jinhyeonkwon merged commit b55acd7 into dev Jul 20, 2024
4 checks passed
@jinhyeonkwon jinhyeonkwon deleted the 798-bug-방-이름이-길면-인원-수-tag가-찌그러짐 branch July 20, 2024 01:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
😱 bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Bug] 방 이름이 길면 인원 수 Tag가 찌그러짐
2 participants