From 5cca5fd407d99349d9b8b653fddd80b51ddaacef Mon Sep 17 00:00:00 2001 From: Machiko Yasuda Date: Mon, 19 Aug 2019 14:50:23 -0700 Subject: [PATCH 1/2] fix(button): default button lineheight is 1.5, default height is now 40 Signed-off-by: Machiko Yasuda --- package/src/theme/defaultTheme.js | 1 + 1 file changed, 1 insertion(+) diff --git a/package/src/theme/defaultTheme.js b/package/src/theme/defaultTheme.js index 92d91e1f..08659911 100644 --- a/package/src/theme/defaultTheme.js +++ b/package/src/theme/defaultTheme.js @@ -226,6 +226,7 @@ export const rawMuiTheme = { }, MuiButton: { root: { + lineHeight: "1.5", padding: `${defaultSpacingUnit}px ${defaultSpacingUnit * 2}px`, textTransform: "initial" }, From 5f828539c28832c6244de51ed48fd6e717cb28cf Mon Sep 17 00:00:00 2001 From: Mike Murray Date: Thu, 22 Aug 2019 14:15:31 -0700 Subject: [PATCH 2/2] fix: use number for unit-less value Signed-off-by: Mike Murray --- package/src/theme/defaultTheme.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package/src/theme/defaultTheme.js b/package/src/theme/defaultTheme.js index 08659911..9f1d5759 100644 --- a/package/src/theme/defaultTheme.js +++ b/package/src/theme/defaultTheme.js @@ -226,7 +226,7 @@ export const rawMuiTheme = { }, MuiButton: { root: { - lineHeight: "1.5", + lineHeight: 1.5, padding: `${defaultSpacingUnit}px ${defaultSpacingUnit * 2}px`, textTransform: "initial" },