@@ -65,7 +65,7 @@ md-datepicker {
6565      //  down the error messages more than they should be.
6666      @include  rtl (float , left , right );
6767      margin-top  : $button-left-right-padding  * -2 ;
68-       top  : $button-left-right-padding  *  2  -  $md-datepicker-border-bottom-gap  /   2 ;
68+       top  : $button-left-right-padding  *  2  -  $md-datepicker-border-bottom-gap  *   0.5 ;
6969    }
7070  }
7171
@@ -76,7 +76,7 @@ md-datepicker {
7676  & ._md-datepicker-has-calendar-icon  {
7777    > label :not (.md-no-float ):not (.md-container-ignore ) {
7878      $width-offset : $md-datepicker-triangle-button-width  *  2  +  $md-datepicker-button-gap ;
79-       $offset : $md-datepicker-triangle-button-width  /   2 ;
79+       $offset : $md-datepicker-triangle-button-width  *   0.5 ;
8080      @include  rtl (right , $offset , auto );
8181      @include  rtl (left , auto , $offset );
8282      width  : calc (100%   -  #{$width-offset } );
@@ -92,8 +92,8 @@ md-datepicker {
9292._md-datepicker-has-triangle-icon  {
9393  //  Leave room for the down-triangle button to "overflow" it's parent without modifying scrollLeft.
9494  //  This prevents the element from shifting right when opening via the triangle button.
95-   @include  rtl-prop (padding-right , padding-left , $md-datepicker-triangle-button-width  /   2 , 0 );
96-   @include  rtl-prop (margin-right , margin-left , - $md-datepicker-triangle-button-width  /   2 , auto );
95+   @include  rtl-prop (padding-right , padding-left , $md-datepicker-triangle-button-width  *   0.5 , 0 );
96+   @include  rtl-prop (margin-right , margin-left , - $md-datepicker-triangle-button-width  *   0.5 , auto );
9797}
9898
9999//  Container for the datepicker input.
@@ -194,7 +194,7 @@ md-datepicker {
194194.md-datepicker-triangle-button  {
195195  position  : absolute ;
196196  @include  rtl-prop (right , left , 0 , auto );
197-   bottom  : - $md-date-arrow-size  /   2 ;
197+   bottom  : - $md-date-arrow-size  *   0.5 ;
198198
199199  //  TODO(jelbourn): This position isn't great on all platforms.
200200  @include  rtl (transform , translateX (45%  ), translateX (-45%  ));
0 commit comments