Update ObjectTypeSelect component to adjust label positioning for improved display
- Modified the label rendering in ObjectTypeSelect to include a style adjustment, positioning the ObjectTypeDisplay component slightly higher for better visual alignment.
This commit is contained in:
parent
f7532338b6
commit
aad5326c7e
@ -24,7 +24,9 @@ const ObjectTypeSelect = ({
|
|||||||
})
|
})
|
||||||
.map((model) => ({
|
.map((model) => ({
|
||||||
value: model.name,
|
value: model.name,
|
||||||
label: <ObjectTypeDisplay objectType={model.name} />,
|
label: (
|
||||||
|
<ObjectTypeDisplay objectType={model.name} style={{ top: '-0.5px' }} />
|
||||||
|
),
|
||||||
searchText: model.label?.toLowerCase() || ''
|
searchText: model.label?.toLowerCase() || ''
|
||||||
}))
|
}))
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user