Skip to content

Commit

Permalink
fix(frontend): fix container in OTel settings page (#2933)
Browse files Browse the repository at this point in the history
  • Loading branch information
jorgeepc committed Jul 12, 2023
1 parent f83a553 commit 8f7eb53
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 6 deletions.
@@ -1,4 +1,4 @@
import {Form} from 'antd';
import {Col, Form, Row} from 'antd';
import {CollectorConfigMap} from 'constants/CollectorConfig.constants';
import {TCollectorDataStores, TDraftDataStore} from 'types/DataStore.types';
import {FramedCodeBlock} from 'components/CodeBlock';
Expand All @@ -20,9 +20,15 @@ const Configuration = () => {
own OpenTelemetry Collector config and apply it.
</S.Description>
</S.SubtitleContainer>
<S.CodeContainer data-cy="file-viewer-code-container">
<FramedCodeBlock value={example} language="yaml" title="Collector Configuration" />
</S.CodeContainer>

<Row>
<Col span={16}>
<S.CodeContainer data-cy="file-viewer-code-container">
<FramedCodeBlock value={example} language="yaml" title="Collector Configuration" />
</S.CodeContainer>
</Col>
</Row>

<DataStoreDocsBanner dataStoreType={dataStoreType} />
</>
);
Expand Down
Expand Up @@ -6,12 +6,12 @@ const OpenTelemetryCollector = () => {
return (
<>
<Row gutter={[16, 16]}>
<Col span={16}>
<Col span={24}>
<Ingestor />
</Col>
</Row>
<Row gutter={[16, 16]}>
<Col span={16}>
<Col span={24}>
<Configuration />
</Col>
</Row>
Expand Down

0 comments on commit 8f7eb53

Please sign in to comment.