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 autogrow input whitespace bug #10388

Merged
merged 1 commit into from
Feb 21, 2025
Merged

Conversation

bosiraphael
Copy link
Contributor

Also fixed chip alignment.

Before:

Enregistrement.de.l.ecran.2025-02-21.a.15.19.00.mov

After:

Enregistrement.de.l.ecran.2025-02-21.a.15.18.39.mov

Copy link
Contributor

@greptile-apps greptile-apps bot left a comment

Choose a reason for hiding this comment

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

PR Summary

This PR addresses alignment and whitespace rendering issues in the command menu interface components, improving visual consistency and text display behavior.

  • Added justify-content: center to StyledChip in /packages/twenty-front/src/modules/command-menu/components/CommandMenuContextChip.tsx for proper horizontal centering
  • Added white-space: pre to StyledNodeWrapper in /packages/twenty-ui/src/utilities/dimensions/components/AutogrowWrapper.tsx to preserve whitespace in autogrow calculations
  • Fixed visual inconsistency between hidden measurement node and visible content in autogrow inputs

2 file(s) reviewed, no comment(s)
Edit PR Review Bot Settings | Greptile

@bosiraphael bosiraphael merged commit f269f8b into main Feb 21, 2025
50 checks passed
@bosiraphael bosiraphael deleted the fix-autogrow-input-white-space-bug branch February 21, 2025 14:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants