-
-
Notifications
You must be signed in to change notification settings - Fork 32.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Input/FormHelperText] Dense margin fixes #7374
Conversation
src/Input/Input.js
Outdated
@@ -105,7 +105,7 @@ export const styleSheet = createStyleSheet('MuiInput', theme => { | |||
}, | |||
}, | |||
inputDense: { | |||
paddingTop: `${theme.spacing.unit / 2}px 0`, | |||
paddingTop: `${theme.spacing.unit / 2}px`, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
paddingTop: theme.spacing.unit / 2
* If `dense`, will adjust vertical spacing. This is normally obtained via context from | ||
* FormControl. | ||
*/ | ||
margin?: 'dense', |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
none too?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
we didn't implement none
here, if anything, the default is normal
spec. none
is non-spec.
Closes #7358 (additional bugs found from #7364)
padding-top