mirror of
https://github.com/nocobase/nocobase
synced 2024-11-15 15:48:00 +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 { BaseTypeSet } from '../calculators';
|
||||||
import { collection, filter } from '../schemas/collection';
|
import { collection, filter } from '../schemas/collection';
|
||||||
import { useTranslation } from 'react-i18next';
|
import { useTranslation } from 'react-i18next';
|
||||||
|
import { css } from '@emotion/css';
|
||||||
|
|
||||||
const FieldsSelect = observer((props) => {
|
const FieldsSelect = observer((props) => {
|
||||||
const compile = useCompile();
|
const compile = useCompile();
|
||||||
@ -19,6 +20,9 @@ const FieldsSelect = observer((props) => {
|
|||||||
return (
|
return (
|
||||||
<Select
|
<Select
|
||||||
{...props}
|
{...props}
|
||||||
|
className={css`
|
||||||
|
min-width: 6em;
|
||||||
|
`}
|
||||||
>
|
>
|
||||||
{fields
|
{fields
|
||||||
.filter(field => (
|
.filter(field => (
|
||||||
|
Loading…
Reference in New Issue
Block a user