added some css for the launch editor button

This commit is contained in:
jasquat 2022-06-17 17:04:42 -04:00
parent 9c05546267
commit b5b4f1d9a7
2 changed files with 6 additions and 0 deletions

View File

@ -34,3 +34,8 @@ html, body, #container, #modeler {
font-family: 'Arial', sans-serif;
}
.spiffworkflow-properties-panel-button {
margin: 2px 32px 6px 12px;
padding-left: 2px;
padding-right: 2px;
}

View File

@ -53,6 +53,7 @@ function LaunchEditorButton(props) {
const eventBus = useService('eventBus');
const modeling = useService('modeling');
return <HeaderButton
className="spiffworkflow-properties-panel-button"
onClick={() => {
eventBus.fire('launch.script.editor', { element: element })
}}