-
Notifications
You must be signed in to change notification settings - Fork 13
Fix container breaking for link input view #560
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 container breaking for link input view #560
Conversation
…nto fix/container-breaking-for-link-input-view
…github.com/kushagrasarathe/peanut-ui into fix/container-breaking-for-link-input-view
@kushagrasarathe is attempting to deploy a commit to the squirrellabs Team on Vercel. A member of the Team first needs to authorize it. |
WalkthroughThe changes in this pull request primarily focus on styling modifications to the Changes
Possibly related PRs
Suggested reviewers
📜 Recent review detailsConfiguration used: CodeRabbit UI 📒 Files selected for processing (2)
✅ Files skipped from review due to trivial changes (1)
🔇 Additional comments (2)src/components/Create/Link/Input.view.tsx (2)Line range hint The change from flex utilities to space utilities for vertical spacing is a good improvement:
Line range hint The addition of
Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media? 🪧 TipsChatThere are 3 ways to chat with CodeRabbit:
Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (Invoked using PR comments)
Other keywords and placeholders
CodeRabbit Configuration File (
|
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
@kushagrasarathe i think the better fix here would be to deal with the issue in the card class! In fact, I think ideally we'd move away from card being a tailwind class and have it be a react component |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Imo fix should be more thorough, by moving card from tailwind class to making it a react component
hey @Hugo0, this sounds like a good idea, I'll get into this and try to structure a new reusable card component |
hey @Hugo0 I overrode the
max-width
class for the create component since the card class was being used on other places too and fixing it directly intailwind config
declaration would affect the ui on other places too.For reference the below two screenshots show the current fix implementation
The first screenshot shows how a normal email will look like

The second screenshot shows how it would look if the email is comparatively bigger, so it will be truncated

Thoughts?
Summary by CodeRabbit