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

feat: avoid overflow for continuous strings in description #3011

Merged
merged 3 commits into from
Feb 2, 2024

Conversation

pavanjoshi914
Copy link
Contributor

Describe the changes you have made in this PR

avoid overflow for continuous strings

Link this PR to an issue [optional]

Fixes #3009

Type of change

(Remove other not matching type)

  • fix: Bug fix (non-breaking change which fixes an issue)

Screenshots of the changes [optional]

single continuous string:
image

non continuous strings:
image

noncontinuous strings having some larger continuous strings:
image

How has this been tested?

Please describe the tests that you ran to verify your changes. Provide instructions so we can reproduce. Please also list any relevant details for your test configuration

Checklist

  • Self-review of changed code
  • Manual testing
  • Added automated tests where applicable
  • Update Docs & Guides
  • For UI-related changes
  • Darkmode
  • Responsive layout

@pavanjoshi914
Copy link
Contributor Author

if we don't want to hide continuous strings overflow maybe we just use break-words there

@reneaaron
Copy link
Contributor

@pavanjoshi914 Yeah, let's just use break-words here. In the npub case you want to see the full npub and it's not good if we just cut the text off and display an ellipsis.

@pavanjoshi914
Copy link
Contributor Author

@reneaaron made relevant changes merging this. Tack

@pavanjoshi914 pavanjoshi914 merged commit 6b210d1 into master Feb 2, 2024
6 of 7 checks passed
@pavanjoshi914 pavanjoshi914 deleted the fix-overflow branch February 2, 2024 13:18
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.

[BUG] Long string goes outside of box/card
2 participants