From 0254927f425d2bb5f47b79f43744d38cd05928a4 Mon Sep 17 00:00:00 2001 From: Sebastian Silbermann Date: Mon, 30 Mar 2020 17:07:14 +0200 Subject: [PATCH 1/2] [ExpansionPanelSummary] Using theme.spacing --- .../src/ExpansionPanelSummary/ExpansionPanelSummary.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/material-ui/src/ExpansionPanelSummary/ExpansionPanelSummary.js b/packages/material-ui/src/ExpansionPanelSummary/ExpansionPanelSummary.js index a8ed0b86e0afd8..2a210a8badad37 100644 --- a/packages/material-ui/src/ExpansionPanelSummary/ExpansionPanelSummary.js +++ b/packages/material-ui/src/ExpansionPanelSummary/ExpansionPanelSummary.js @@ -17,7 +17,7 @@ export const styles = (theme) => { display: 'flex', minHeight: 8 * 6, transition: theme.transitions.create(['min-height', 'background-color'], transition), - padding: '0 24px 0 24px', + padding: theme.spacing(0, 3, 0, 3), '&:hover:not($disabled)': { cursor: 'pointer', }, From 26efdb13f344bc3e4944fd3030e159aecd1a5f9f Mon Sep 17 00:00:00 2001 From: Olivier Tassinari Date: Tue, 31 Mar 2020 20:23:20 +0200 Subject: [PATCH 2/2] Update packages/material-ui/src/ExpansionPanelSummary/ExpansionPanelSummary.js --- .../src/ExpansionPanelSummary/ExpansionPanelSummary.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/material-ui/src/ExpansionPanelSummary/ExpansionPanelSummary.js b/packages/material-ui/src/ExpansionPanelSummary/ExpansionPanelSummary.js index 2a210a8badad37..7ed48db1ad40bf 100644 --- a/packages/material-ui/src/ExpansionPanelSummary/ExpansionPanelSummary.js +++ b/packages/material-ui/src/ExpansionPanelSummary/ExpansionPanelSummary.js @@ -17,7 +17,7 @@ export const styles = (theme) => { display: 'flex', minHeight: 8 * 6, transition: theme.transitions.create(['min-height', 'background-color'], transition), - padding: theme.spacing(0, 3, 0, 3), + padding: theme.spacing(0, 3), '&:hover:not($disabled)': { cursor: 'pointer', },