From 82ecb91ae2c23c5e7777853da700c02637f85bee Mon Sep 17 00:00:00 2001 From: Olivier Tassinari Date: Sun, 26 Jan 2020 23:06:18 +0100 Subject: [PATCH] [core] Normalize list style reset --- docs/src/modules/components/AppFooter.js | 2 +- docs/src/modules/components/AppTableOfContents.js | 2 +- docs/src/pages/getting-started/templates/pricing/Pricing.js | 2 -- .../premium-themes/onepirate/modules/views/AppFooter.js | 2 +- packages/material-ui/src/Breadcrumbs/Breadcrumbs.js | 5 ++--- 5 files changed, 5 insertions(+), 8 deletions(-) diff --git a/docs/src/modules/components/AppFooter.js b/docs/src/modules/components/AppFooter.js index ce385bcb63e588..ec72bd635aca49 100644 --- a/docs/src/modules/components/AppFooter.js +++ b/docs/src/modules/components/AppFooter.js @@ -34,7 +34,7 @@ const styles = theme => ({ }, '& ul': { margin: 0, - paddingLeft: 0, + padding: 0, listStyle: 'none', }, '& li': { diff --git a/docs/src/modules/components/AppTableOfContents.js b/docs/src/modules/components/AppTableOfContents.js index cb85ef1ea9bf0a..e7632435c5fc71 100644 --- a/docs/src/modules/components/AppTableOfContents.js +++ b/docs/src/modules/components/AppTableOfContents.js @@ -36,7 +36,7 @@ const useStyles = makeStyles(theme => ({ ul: { padding: 0, margin: 0, - listStyleType: 'none', + listStyle: 'none', }, item: { fontSize: 13, diff --git a/docs/src/pages/getting-started/templates/pricing/Pricing.js b/docs/src/pages/getting-started/templates/pricing/Pricing.js index 0bd11c22524590..8662e1d5064ffa 100644 --- a/docs/src/pages/getting-started/templates/pricing/Pricing.js +++ b/docs/src/pages/getting-started/templates/pricing/Pricing.js @@ -33,8 +33,6 @@ const useStyles = makeStyles(theme => ({ ul: { margin: 0, padding: 0, - }, - li: { listStyle: 'none', }, }, diff --git a/docs/src/pages/premium-themes/onepirate/modules/views/AppFooter.js b/docs/src/pages/premium-themes/onepirate/modules/views/AppFooter.js index ddd872708bce73..c7943bf6636039 100644 --- a/docs/src/pages/premium-themes/onepirate/modules/views/AppFooter.js +++ b/docs/src/pages/premium-themes/onepirate/modules/views/AppFooter.js @@ -49,7 +49,7 @@ const useStyles = makeStyles(theme => ({ list: { margin: 0, listStyle: 'none', - paddingLeft: 0, + padding: 0, }, listItem: { paddingTop: theme.spacing(0.5), diff --git a/packages/material-ui/src/Breadcrumbs/Breadcrumbs.js b/packages/material-ui/src/Breadcrumbs/Breadcrumbs.js index ca34dca3571c36..b546e487ae3cf6 100644 --- a/packages/material-ui/src/Breadcrumbs/Breadcrumbs.js +++ b/packages/material-ui/src/Breadcrumbs/Breadcrumbs.js @@ -16,11 +16,10 @@ export const styles = { alignItems: 'center', padding: 0, // Reset margin: 0, // Reset - }, - /* Styles applied to the li element. */ - li: { listStyle: 'none', }, + /* Styles applied to the li element. */ + li: {}, /* Styles applied to the separator element. */ separator: { display: 'flex',