mirror of
https://github.com/nocobase/nocobase
synced 2024-11-15 08:36:44 +00:00
style(plugin-workflow): adjust terminal style on workflow canvas (#2524)
This commit is contained in:
parent
0663844573
commit
42acff6c75
@ -15,11 +15,7 @@ export function CanvasContent({ entry }) {
|
||||
<div className={styles.branchBlockClass}>
|
||||
<Branch entry={entry} />
|
||||
</div>
|
||||
<div className={cx('end', styles.nodeCardClass)}>
|
||||
<div className={cx(styles.nodeMetaClass)}>
|
||||
<Tag color="#333">{lang('End')}</Tag>
|
||||
</div>
|
||||
</div>
|
||||
<div className={styles.terminalClass}>{lang('End')}</div>
|
||||
</div>
|
||||
);
|
||||
}
|
||||
|
@ -348,6 +348,18 @@ const useStyles = createStyles(({ css, token }) => {
|
||||
width: 2em;
|
||||
height: 6em;
|
||||
`,
|
||||
|
||||
terminalClass: css`
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
flex-shrink: 0;
|
||||
width: 4em;
|
||||
height: 4em;
|
||||
border-radius: 50%;
|
||||
background-color: ${token.colorText};
|
||||
color: ${token.colorBgContainer};
|
||||
`,
|
||||
};
|
||||
});
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user