Skip to content

Commit ba53bae

Browse files
[frontend] add vertical gap in connector Scope (#14794)
1 parent bdb181e commit ba53bae

1 file changed

Lines changed: 8 additions & 7 deletions

File tree

  • opencti-platform/opencti-front/src/private/components/data/connectors

opencti-platform/opencti-front/src/private/components/data/connectors/Connector.tsx

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -303,13 +303,14 @@ const ConnectorComponent: FunctionComponent<ConnectorComponentProps> = ({ connec
303303
<Label>
304304
{t_i18n('Scope')}
305305
</Label>
306-
{connector.connector_scope?.map((scope) => (
307-
<Tag
308-
key={scope}
309-
label={scope}
310-
sx={{ mr: 1 }}
311-
/>
312-
))}
306+
<Box sx={{ display: 'flex', flexWrap: 'wrap', gap: 1 }}>
307+
{connector.connector_scope?.map((scope) => (
308+
<Tag
309+
key={scope}
310+
label={scope}
311+
/>
312+
))}
313+
</Box>
313314
</Grid>
314315
{connectorFiltersEnabled && (
315316
<Grid item xs={6}>

0 commit comments

Comments
 (0)