Skip to content

Commit 1c691c7

Browse files
Copilotlilin90
andauthored
Improve MDX alert block spacing from following paragraph text (#703)
* Initial plan * fix: add bottom spacing after mdx alerts Agent-Logs-Url: https://github.com/pingcap/website-docs/sessions/2b82a94c-7be5-47e4-aba3-8f26ed220ed7 Co-authored-by: lilin90 <30922556+lilin90@users.noreply.github.com> --------- Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com> Co-authored-by: lilin90 <30922556+lilin90@users.noreply.github.com>
1 parent 4c784f6 commit 1c691c7

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

src/components/MDXComponents/Alert.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ function AlertContainer(props: { children: React.ReactNode }) {
1111
<Box
1212
sx={{
1313
paddingTop: "1rem",
14+
marginBottom: "1rem",
1415
"& .MuiAlert-message p": {
1516
marginBottom: 0,
1617
marginTop: 0,

0 commit comments

Comments
 (0)