update label class and colors

This commit is contained in:
Mutasem 2021-11-08 09:34:21 +01:00
parent 99642a5d03
commit 671cf0bb9c
2 changed files with 5 additions and 4 deletions

View file

@ -2559,7 +2559,7 @@ export default mixins(
<style lang="scss">
.connection-output-items-label {
.connection-run-items-label {
span {
border-radius: 7px;
background-color: var(--color-canvas-background);
@ -2568,12 +2568,13 @@ export default mixins(
white-space: nowrap;
font-size: var(--font-size-s);
font-weight: var(--font-weight-regular);
color: var(--color-success);
}
> span.floating {
position: absolute;
top: -22px;
transform: translateX(-50%)
transform: translateX(-50%);
}
}

View file

@ -12,7 +12,7 @@ import {
export const OVERLAY_DROP_NODE_ID = 'drop-add-node';
export const OVERLAY_MIDPOINT_ARROW_ID = 'midpoint-arrow';
export const OVERLAY_ENDPOINT_ARROW_ID = 'endpoint-arrow';
export const OVERLAY_RUN_ITEMS_ID = 'output-items-label';
export const OVERLAY_RUN_ITEMS_ID = 'run-items-label';
export const OVERLAY_CONNECTION_ACTIONS_ID = 'connection-actions';
export const JSPLUMB_FLOWCHART_STUB = 26;
export const OVERLAY_INPUT_NAME_LABEL = 'input-name-label';
@ -478,7 +478,7 @@ export const addConnectionOutputSuccess = (connection: Connection, output: {tota
{
id: OVERLAY_RUN_ITEMS_ID,
label: `<span>${label}</span>`,
cssClass: 'connection-output-items-label',
cssClass: 'connection-run-items-label',
location: .5,
},
]);