Skip to content

Commit

Permalink
fix(paginator): change class name of increment and decrement icons
Browse files Browse the repository at this point in the history
Fix such that the previous page navigation button contains an icon with class decrement,
and the next page navigation button contains an icon with class increment. Previously
they were incorrectly swapped.

Noticed during fix for #9278
  • Loading branch information
lharries committed Jan 31, 2018
1 parent 6d4413f commit 992ab4c
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/lib/paginator/paginator.scss
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ $mat-paginator-button-icon-width: 8px;

$mat-paginator-button-increment-icon-margin: 12px;
$mat-paginator-button-decrement-icon-margin: 16px;
<<<<<<< HEAD

$mat-paginator-button-first-last-icon-width: 14px;

Expand All @@ -27,6 +28,8 @@ $mat-paginator-button-last-icon-margin: 15px;
$mat-paginator-button-first-decrement-icon-margin: 21px;
$mat-paginator-button-last-increment-icon-margin: 9px;

=======
>>>>>>> 0d121793... fix(paginator): change class name of increment and decrement icons

.mat-paginator {
display: block;
Expand Down Expand Up @@ -93,7 +96,7 @@ $mat-paginator-button-last-increment-icon-margin: 9px;
.mat-paginator-decrement {
margin-left: $mat-paginator-button-decrement-icon-margin;
[dir='rtl'] & {
margin-right: $mat-paginator-button-decrement-icon-margin;
margin-right: $mat-paginator-button-increment-icon-margin;
}
}

Expand Down

0 comments on commit 992ab4c

Please sign in to comment.