fix: missing menuItemGroupCss
This commit is contained in:
parent
4d6363b47a
commit
347c0831f8
@ -5,6 +5,7 @@ import classNames from 'classnames';
|
|||||||
import React, { createContext, useContext, useState } from 'react';
|
import React, { createContext, useContext, useState } from 'react';
|
||||||
import { Icon } from '../icon';
|
import { Icon } from '../icon';
|
||||||
import { useCompile, useDesignable } from '../schema-component/hooks';
|
import { useCompile, useDesignable } from '../schema-component/hooks';
|
||||||
|
import './style.less';
|
||||||
import {
|
import {
|
||||||
SchemaInitializerButtonProps,
|
SchemaInitializerButtonProps,
|
||||||
SchemaInitializerItemComponent,
|
SchemaInitializerItemComponent,
|
||||||
@ -18,12 +19,7 @@ export const SchemaInitializerItemContext = createContext(null);
|
|||||||
|
|
||||||
export const SchemaInitializer = () => null;
|
export const SchemaInitializer = () => null;
|
||||||
|
|
||||||
const menuItemGroupCss = css`
|
const menuItemGroupCss = 'nb-menu-item-group';
|
||||||
.menuItemGroup {
|
|
||||||
max-height: 60vh;
|
|
||||||
overflow: auto;
|
|
||||||
}
|
|
||||||
`;
|
|
||||||
|
|
||||||
SchemaInitializer.Button = observer((props: SchemaInitializerButtonProps) => {
|
SchemaInitializer.Button = observer((props: SchemaInitializerButtonProps) => {
|
||||||
const {
|
const {
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
.menuItemGroup {
|
.nb-menu-item-group {
|
||||||
max-height: 60vh;
|
max-height: 60vh;
|
||||||
overflow: auto;
|
overflow: auto;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user