Skip to content

Commit 00c934f

Browse files
authored
fix: platformSection spacing (#13243)
closes #13134
1 parent 21b55ae commit 00c934f

File tree

2 files changed

+8
-1
lines changed

2 files changed

+8
-1
lines changed

src/components/platformSection.tsx renamed to src/components/platformSection/index.tsx

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@ import {DocNode, getCurrentPlatformOrGuide, getPlatform} from 'sentry-docs/docTr
22
import {serverContext} from 'sentry-docs/serverContext';
33
import {Platform, PlatformGuide} from 'sentry-docs/types';
44

5+
import styles from './style.module.css';
6+
57
function getPlatformsWithFallback(
68
rootNode: DocNode,
79
platformOrGuide: Platform | PlatformGuide
@@ -87,5 +89,5 @@ export function PlatformSection({
8789
return null;
8890
}
8991

90-
return children;
92+
return <div className={styles['no-space-around-ul']}>{children}</div>;
9193
}
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
.no-space-around-ul {
2+
& ul, & + ul {
3+
margin: 0;
4+
}
5+
}

0 commit comments

Comments
 (0)