Skip to content

Commit 162dbee

Browse files
committed
Merge branch 'develop'
2 parents 14da6e1 + 81dfb40 commit 162dbee

File tree

3 files changed

+7
-6
lines changed

3 files changed

+7
-6
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
"swizzle": "docusaurus swizzle",
1010
"deploy": "docusaurus deploy",
1111
"clear": "docusaurus clear",
12-
"serve": "docusaurus serve",
12+
"serve": "docusaurus serve --port 8000",
1313
"write-translations": "docusaurus write-translations",
1414
"write-heading-ids": "docusaurus write-heading-ids",
1515
"typecheck": "tsc"

src/components/Grid.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ export default function Grid({ children, className, columns = 1, columnsSmall, c
1616
const largeColumns = columnsLarge ?? defaultColumns;
1717
const gridId = React.useId();
1818
return (
19-
<p>
19+
<div style={{ marginBottom: 'var(--ifm-leading)' }}>
2020
<style>
2121
{`
2222
.grid-${gridId} {
@@ -44,6 +44,6 @@ export default function Grid({ children, className, columns = 1, columnsSmall, c
4444
{children}
4545
</div>
4646
</GridContext.Provider>
47-
</p>
47+
</div>
4848
);
4949
}

src/components/WhiteBox.tsx

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,15 +8,16 @@ interface WhiteBoxProps {
88
export default function WhiteBox({ children }: WhiteBoxProps) {
99
return (
1010
<WhiteBoxContext.Provider value={true}>
11-
<p style={{
11+
<div style={{
1212
backgroundColor: '#ffffff',
1313
borderRadius: 'var(--ifm-global-radius)',
14-
boxShadow: 'var(--ifm-global-shadow-lw',
14+
boxShadow: 'var(--ifm-global-shadow-lw)',
1515
display: 'inline-block',
16+
marginBottom: 'var(--ifm-leading)',
1617
padding: 'var(--ifm-pre-padding)',
1718
}}>
1819
{children}
19-
</p>
20+
</div>
2021
</WhiteBoxContext.Provider>
2122
);
2223
}

0 commit comments

Comments
 (0)