2
0
mirror of https://github.com/inventree/InvenTree.git synced 2025-11-14 20:06:44 +00:00

Make icons red again (#10816)

This commit is contained in:
Oliver
2025-11-14 18:12:41 +11:00
committed by GitHub
parent ba9b5438b4
commit 39d181ae5f

View File

@@ -410,7 +410,14 @@ export function RelatedModelField({
menuPortalTarget={document.body}
noOptionsMessage={() => t`No results found`}
menuPosition='fixed'
styles={{ menuPortal: (base: any) => ({ ...base, zIndex: 9999 }) }}
styles={{
menuPortal: (base: any) => ({ ...base, zIndex: 9999 }),
clearIndicator: (base: any) => ({
...base,
color: 'red',
':hover': { color: 'red' }
})
}}
formatOptionLabel={(option: any) => formatOption(option)}
theme={(theme) => {
return {