twentyhq / twenty

Building a modern alternative to Salesforce, powered by the community.
https://twenty.com
GNU Affero General Public License v3.0
16.1k stars 1.82k forks source link

Remove all maxWidth props from the codebase #7111

Open lucasbordeau opened 2 weeks ago

lucasbordeau commented 2 weeks ago

Scope & Context

The maxWidth props is a workaround for lack of a better dynamic solution. It should be removed entirely from the codebase.

gvkhna commented 2 weeks ago

I encountered this limitation here, but hardcoded a value to get a POC.

https://github.com/twentyhq/twenty/pull/6943

There shouldn't be any maxWidth I agree, the entire layout should flex to adjust. A "Double Word" UI Test would be helpful to see how much would be truncated typically for Germans etc.