fix: long text will wrap in FormItem (#295)
This commit is contained in:
parent
8e11e8d364
commit
e21d819155
@ -1,3 +1,4 @@
|
||||
import { css } from '@emotion/css';
|
||||
import { FormItem as Item } from '@formily/antd';
|
||||
import { Field } from '@formily/core';
|
||||
import { ISchema, useField, useFieldSchema } from '@formily/react';
|
||||
@ -14,6 +15,9 @@ export const FormItem: any = (props) => {
|
||||
return (
|
||||
<BlockItem className={'nb-form-item'}>
|
||||
<Item
|
||||
className={`${css`& .ant-space{
|
||||
flex-wrap:wrap;
|
||||
}`}`}
|
||||
{...props}
|
||||
extra={
|
||||
field.description ? (
|
||||
|
Loading…
Reference in New Issue
Block a user