mirror of
https://github.com/nocobase/nocobase
synced 2024-11-15 13:46:45 +00:00
fix(plugin-workflow): fix searchable select min-width (#524)
This commit is contained in:
parent
929dd9b22e
commit
19987c5846
@ -9,6 +9,7 @@ import { useFlowContext } from '../WorkflowCanvas';
|
||||
import { BaseTypeSet } from '../calculators';
|
||||
import { collection, filter } from '../schemas/collection';
|
||||
import { useTranslation } from 'react-i18next';
|
||||
import { css } from '@emotion/css';
|
||||
|
||||
const FieldsSelect = observer((props) => {
|
||||
const compile = useCompile();
|
||||
@ -19,6 +20,9 @@ const FieldsSelect = observer((props) => {
|
||||
return (
|
||||
<Select
|
||||
{...props}
|
||||
className={css`
|
||||
min-width: 6em;
|
||||
`}
|
||||
>
|
||||
{fields
|
||||
.filter(field => (
|
||||
|
Loading…
Reference in New Issue
Block a user