style: schemaSetting dropdown style improve (#2432)
This commit is contained in:
parent
e573d085d3
commit
caad07e11e
@ -167,6 +167,12 @@ export const SchemaSettings: React.FC<SchemaSettingsProps> & SchemaSettingsNeste
|
|||||||
onOpenChange={(open) => {
|
onOpenChange={(open) => {
|
||||||
changeMenu(open);
|
changeMenu(open);
|
||||||
}}
|
}}
|
||||||
|
overlayClassName={css`
|
||||||
|
.ant-dropdown-menu-item-group-list {
|
||||||
|
max-height: 300px;
|
||||||
|
overflow-y: auto;
|
||||||
|
}
|
||||||
|
`}
|
||||||
menu={{ items }}
|
menu={{ items }}
|
||||||
>
|
>
|
||||||
{typeof title === 'string' ? <span>{title}</span> : title}
|
{typeof title === 'string' ? <span>{title}</span> : title}
|
||||||
|
Loading…
Reference in New Issue
Block a user