Skip to content

Commit

Permalink
Merge pull request #2745 from glific/keyword-in-floweditor
Browse files Browse the repository at this point in the history
added keyword in floweditor
  • Loading branch information
mdshamoon authored Feb 13, 2024
2 parents 2132768 + 926d19e commit 7a3457c
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 1 deletion.
14 changes: 14 additions & 0 deletions src/components/floweditor/FlowEditor.module.css
Original file line number Diff line number Diff line change
Expand Up @@ -21,11 +21,25 @@
color: #073f24;
font-weight: 500;
font-size: 20px;
display: flex;
align-items: center;
}

.FlowNameClosed {
composes: FlowName;
left: 90px;
display: flex;
align-items: center;
}

.FlowNameContainer {
display: flex;
flex-direction: column;
}

.FlowKeyword {
font-size: 12px;
color: #93a29b !important;
}

:global(.Flow_empty_flow__roKNh) {
Expand Down
7 changes: 6 additions & 1 deletion src/components/floweditor/FlowEditor.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -405,7 +405,12 @@ export const FlowEditor = () => {
<FlowIcon />
</IconButton>

{flowTitle}
<div className={styles.FlowNameContainer}>
{flowTitle}
<span className={styles.FlowKeyword}>
{flowName?.flows[0]?.keywords.join(', ')}
</span>
</div>
</>
)}
</div>
Expand Down

0 comments on commit 7a3457c

Please sign in to comment.