diff --git a/src/management-system-v2/components/modeler-toolbar.module.scss b/src/management-system-v2/components/modeler-toolbar.module.scss new file mode 100644 index 000000000..b4ea281e4 --- /dev/null +++ b/src/management-system-v2/components/modeler-toolbar.module.scss @@ -0,0 +1,5 @@ +.Toolbar { + :global(.ant-btn-default:disabled) { + background-color: rgba($color: #eee, $alpha: 1); + } +} diff --git a/src/management-system-v2/components/modeler-toolbar.tsx b/src/management-system-v2/components/modeler-toolbar.tsx index 4e8e8b524..4289499e9 100644 --- a/src/management-system-v2/components/modeler-toolbar.tsx +++ b/src/management-system-v2/components/modeler-toolbar.tsx @@ -8,6 +8,8 @@ import type CommandStack from 'diagram-js/lib/command/CommandStack'; import { Tooltip, Button, Space, Select, SelectProps } from 'antd'; import { Toolbar, ToolbarGroup } from './toolbar'; +import styles from './modeler-toolbar.module.scss'; + import Icon, { ExportOutlined, SettingOutlined, @@ -149,7 +151,7 @@ const ModelerToolbar: React.FC = ({ onOpenXmlEditor, versio return ( <> - +