-
Notifications
You must be signed in to change notification settings - Fork 6.8k
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
Make md-select, md-input, md-checkbox, md-radio-button aligned in flex container #2309
Conversation
@@ -192,6 +192,7 @@ $md-checkbox-ripple-size: 15px; | |||
} | |||
|
|||
md-checkbox { | |||
margin: 16px 0; |
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 can't do this- none of the components can define a margin on their outer element.
$md-select-trigger-min-width: 112px !default; | ||
$md-select-arrow-size: 5px !default; | ||
$md-select-arrow-margin: 4px !default; | ||
$md-select-panel-max-height: 256px !default; | ||
|
||
md-select { | ||
display: inline-block; | ||
margin: 16px 0; |
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.
Same comment about margin
@@ -3,26 +3,27 @@ | |||
@import '../core/style/form-common'; | |||
@import '../core/a11y/a11y'; | |||
|
|||
$md-select-trigger-height: 30px !default; | |||
$md-select-trigger-height: 27px !default; |
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 may have to think more about how we want to approach this- the md-input changes its size based on the current font size, so this may only look right with a specific size
@tinayuangao can you remind me of the status on this PR? |
@jelbourn The |
0e82fdc
to
8001627
Compare
@tinayuangao is this PR still alive? |
This is not a desired fix. Close it for now |
This issue has been automatically locked due to inactivity. Read more about our automatic conversation locking policy. This action has been performed automatically by a bot. |
Fixes #2124
R: @jelbourn @kara