mirror of
https://github.com/inventree/InvenTree.git
synced 2025-11-16 04:42:16 +00:00
Make icons red again (#10816)
This commit is contained in:
@@ -410,7 +410,14 @@ export function RelatedModelField({
|
|||||||
menuPortalTarget={document.body}
|
menuPortalTarget={document.body}
|
||||||
noOptionsMessage={() => t`No results found`}
|
noOptionsMessage={() => t`No results found`}
|
||||||
menuPosition='fixed'
|
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)}
|
formatOptionLabel={(option: any) => formatOption(option)}
|
||||||
theme={(theme) => {
|
theme={(theme) => {
|
||||||
return {
|
return {
|
||||||
|
|||||||
Reference in New Issue
Block a user