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

fix: add text wrapping to element with long text children #16

Merged
merged 1 commit into from
Mar 2, 2025

Conversation

sushichan044
Copy link
Collaborator

@sushichan044 sushichan044 commented Feb 17, 2025

やりたいこと

現状 https://birdxplorer.code4japan.org/?limit=25&offset=25 の最初の Note のように、
長い url などが含まれているときに折り返しがかかっていないので内容が隠れている。

ユーザーの入力によって内容が変わる Post / Note の本文に対してテキスト折り返しの設定を入れてこれを回避したい。

image

やったこと

  • Post, Note の本文を表示するコンポーネントに overflow-wrap: break-word; をつけた

@sushichan044 sushichan044 self-assigned this Feb 17, 2025
Copy link

vercel bot commented Feb 17, 2025

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
birdxplorer-viewer ✅ Ready (Inspect) Visit Preview 💬 Add feedback Feb 17, 2025 7:56am

@yu23ki14 yu23ki14 merged commit 869b996 into main Mar 2, 2025
3 checks passed
@sushichan044 sushichan044 deleted the fix/note-post-content-wrap branch March 4, 2025 08:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants