From 9a8e4306fc4b4fbbe7b08f4b0ffd60c4b8003b65 Mon Sep 17 00:00:00 2001
From: Danilo Leal <67129314+danilo-leal@users.noreply.github.com>
Date: Wed, 2 Aug 2023 09:46:18 -0300
Subject: [PATCH 1/2] add round of general polish
---
docs/src/modules/components/ApiPage.js | 1 -
.../modules/components/ApiPage/ApiItem.tsx | 6 ++---
.../modules/components/ApiPage/SlotsList.tsx | 25 ++++++-------------
.../src/modules/components/PropertiesTable.js | 1 -
4 files changed, 11 insertions(+), 22 deletions(-)
diff --git a/docs/src/modules/components/ApiPage.js b/docs/src/modules/components/ApiPage.js
index 52e052f4933ad3..d511b24c3bb051 100644
--- a/docs/src/modules/components/ApiPage.js
+++ b/docs/src/modules/components/ApiPage.js
@@ -371,7 +371,6 @@ import { ${pageContent.name} } from '${source}';`}
componentName={pageContent.name}
classDescriptions={classDescriptions}
/>
-
{t('api-docs.default')}: {defaultValue}
{t('api-docs.globalClass')}:{' '}
- {t('api-docs.description')}:{' '} - -
- )} ); })} diff --git a/docs/src/modules/components/PropertiesTable.js b/docs/src/modules/components/PropertiesTable.js index 1313e204c29005..ba8652fd910814 100644 --- a/docs/src/modules/components/PropertiesTable.js +++ b/docs/src/modules/components/PropertiesTable.js @@ -69,7 +69,6 @@ const StyledApiItem = styled(ApiItem)( backgroundColor: `var(--muidocs-palette-primaryDark-800, ${lightTheme.palette.primaryDark[800]})`, }, }, - marginBottom: 36, }), ({ theme }) => ({ [`:where(${theme.vars ? '[data-mui-color-scheme="dark"]' : '.mode-dark'}) &`]: { From f0290cb887e6ea502b2ab1f37da29b8a2080bead Mon Sep 17 00:00:00 2001 From: Danilo Leal <67129314+danilo-leal@users.noreply.github.com> Date: Wed, 2 Aug 2023 12:15:16 -0300 Subject: [PATCH 2/2] reduce size between each block --- docs/src/modules/components/ApiPage/ApiItem.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/src/modules/components/ApiPage/ApiItem.tsx b/docs/src/modules/components/ApiPage/ApiItem.tsx index e795d9b8543f5d..61003489ae032a 100644 --- a/docs/src/modules/components/ApiPage/ApiItem.tsx +++ b/docs/src/modules/components/ApiPage/ApiItem.tsx @@ -135,7 +135,7 @@ const Root = styled('div')<{ ownerState: { type?: DescriptionType } }>( backgroundColor: `var(--muidocs-palette-primary-50, ${lightTheme.palette.primary[50]})`, }, '&>hr': { - margin: '24px 0', + margin: '18px 0', }, }), ({ theme }) => ({