mirror of
https://gitee.com/nocobase/nocobase.git
synced 2024-12-02 12:18:15 +08:00
fix(plugin-workflow): fix workflow version dropdown overflow (#4542)
This commit is contained in:
parent
63f71994ab
commit
1c990ba0a5
@ -177,8 +177,8 @@ export function WorkflowCanvas() {
|
||||
/>
|
||||
</header>
|
||||
<aside>
|
||||
<div className="workflow-versions">
|
||||
<Dropdown
|
||||
className="workflow-versions"
|
||||
trigger={['click']}
|
||||
menu={{
|
||||
onClick: onSwitchVersion,
|
||||
@ -211,7 +211,6 @@ export function WorkflowCanvas() {
|
||||
<DownOutlined />
|
||||
</Button>
|
||||
</Dropdown>
|
||||
</div>
|
||||
<Switch
|
||||
checked={workflow.enabled}
|
||||
onChange={onToggle}
|
||||
|
@ -96,6 +96,9 @@ const useStyles = createStyles(({ css, token }) => {
|
||||
`,
|
||||
|
||||
workflowVersionDropdownClass: css`
|
||||
max-height: 80vh;
|
||||
overflow-y: auto;
|
||||
|
||||
.ant-dropdown-menu-item {
|
||||
.ant-dropdown-menu-title-content {
|
||||
strong {
|
||||
|
Loading…
Reference in New Issue
Block a user