Skip to content

Commit 2c5c9d6

Browse files
committed
Cleanup spacing using gaps, change example based on type of integration selected
1 parent ddea275 commit 2c5c9d6

File tree

2 files changed

+12
-1
lines changed

2 files changed

+12
-1
lines changed
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,9 @@
11
.example-payload {
2+
display: flex;
3+
flex-direction: column;
4+
gap: $pad-large;
5+
6+
pre {
7+
margin: 0;
8+
}
29
}

frontend/pages/policies/ManagePoliciesPage/components/OtherWorkflowsModal/OtherWorkflowsModal.tsx

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -330,7 +330,11 @@ const OtherWorkflowsModal = ({
330330
caretPosition="after"
331331
onClick={() => setShowExampleTicket(!showExampleTicket)}
332332
/>
333-
{showExampleTicket && <ExampleTicket />}
333+
{showExampleTicket && (
334+
<ExampleTicket
335+
integrationType={getIntegrationType(selectedIntegration)}
336+
/>
337+
)}
334338
</>
335339
) : (
336340
<div className={`form-field ${baseClass}__no-integrations`}>

0 commit comments

Comments
 (0)