Align field values with fixed width for field key. (#5821)
Made the alignment consistent with the field panel. This uses 90px as the key label width. **Issue:** #5730 **Changes:** - Add a label width of 90 to FieldContext Provider in useFieldContext function - Add a label width of 90 to ActivityTargetsInlineCell component **Screen recording form local testing:** https://github.com/twentyhq/twenty/assets/120792086/e150530b-4163-4a69-9bd5-119a2f202d4f --------- Co-authored-by: Thomas Trompette <thomas.trompette@sfr.fr>
This commit is contained in:
@ -72,6 +72,7 @@ export const useFieldContext = ({
|
||||
showLabel: true,
|
||||
position: fieldPosition,
|
||||
objectMetadataItem,
|
||||
labelWidth: 90,
|
||||
}),
|
||||
useUpdateRecord:
|
||||
customUseUpdateOneObjectHook ?? useUpdateOneObjectMutation,
|
||||
|
||||
Reference in New Issue
Block a user