Skip to content
This repository has been archived by the owner on Sep 5, 2024. It is now read-only.

Commit

Permalink
fix(input): fixes alignment between datepicker and other input elements
Browse files Browse the repository at this point in the history
closes #5936
  • Loading branch information
Robert Messerle committed Dec 2, 2015
1 parent 67e50f6 commit 08b5af5
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/components/datepicker/datePicker.scss
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,13 @@ md-datepicker {
// Leave room for the down-triangle button to "overflow" it's parent without modifying scrollLeft
padding-right: $md-datepicker-triangle-button-width / 2;
margin-right: -$md-datepicker-triangle-button-width / 2;

vertical-align: middle;
}

.md-inline-form {
md-datepicker {
margin-top: 8px;
margin-top: 12px;
}
}

Expand Down
1 change: 1 addition & 0 deletions src/components/input/input.scss
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ md-input-container {
position: relative;
padding: $input-container-padding;
margin: 18px 0;
vertical-align: middle;

&.md-block {
display: block;
Expand Down

0 comments on commit 08b5af5

Please sign in to comment.