Fixed Max lenght in Label , #3515 (#3558)

* Fixed Max lenght in Label , #3515

* should be 200 if label is displayed, 272 if label is not displayed #3558

* Update packages/twenty-front/src/modules/object-record/components/RecordShowPage.tsx

Fix accoding to review

* Fix

---------

Co-authored-by: Charles Bochet <charlesBochet@users.noreply.github.com>
This commit is contained in:
Dev Kraken 2024-01-23 22:56:19 +04:00 committed by GitHub
parent 0100244cbc
commit c0c2906209
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -252,7 +252,7 @@ export const RecordShowPage = () => {
key={record.id + fieldMetadataItem.id} key={record.id + fieldMetadataItem.id}
value={{ value={{
entityId: record.id, entityId: record.id,
maxWidth: 272, maxWidth: 200,
recoilScopeId: record.id + fieldMetadataItem.id, recoilScopeId: record.id + fieldMetadataItem.id,
isLabelIdentifier: false, isLabelIdentifier: false,
fieldDefinition: fieldDefinition: