From 7675627f9d3646a793ce1e92a6cc499d70fadcd5 Mon Sep 17 00:00:00 2001 From: Jan Date: Mon, 13 Aug 2018 14:06:45 +0200 Subject: [PATCH 1/2] fix fullwidth for tab --- packages/material-ui/src/Tab/Tab.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/material-ui/src/Tab/Tab.js b/packages/material-ui/src/Tab/Tab.js index eb82ff9098cb8b..387622ffb03b96 100644 --- a/packages/material-ui/src/Tab/Tab.js +++ b/packages/material-ui/src/Tab/Tab.js @@ -66,7 +66,7 @@ export const styles = theme => ({ fullWidth: { flexShrink: 1, flexGrow: 1, - maxWidth: 'auto', + maxWidth: '100%', }, /* Styles applied to the `icon` and `label`'s wrapper element. */ wrapper: { From 8b21d9d282b7a2d59b6c01a2552a3f8a5d29ff06 Mon Sep 17 00:00:00 2001 From: Olivier Tassinari Date: Mon, 13 Aug 2018 21:17:12 +0200 Subject: [PATCH 2/2] Use the default value --- packages/material-ui/src/Tab/Tab.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/material-ui/src/Tab/Tab.js b/packages/material-ui/src/Tab/Tab.js index 387622ffb03b96..d5934abf5cc671 100644 --- a/packages/material-ui/src/Tab/Tab.js +++ b/packages/material-ui/src/Tab/Tab.js @@ -66,7 +66,7 @@ export const styles = theme => ({ fullWidth: { flexShrink: 1, flexGrow: 1, - maxWidth: '100%', + maxWidth: 'none', }, /* Styles applied to the `icon` and `label`'s wrapper element. */ wrapper: {