Skip to content

Commit

Permalink
fix(data-table): right align datatable sort icon (#6579)
Browse files Browse the repository at this point in the history
* fix(data-table): right align datatable sort icon

* fix(DataTable): fix sort icon for all size variants

Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
  • Loading branch information
tw15egan and kodiakhq[bot] authored Jul 31, 2020
1 parent 09d99c1 commit ee6075d
Showing 1 changed file with 4 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,8 @@
.#{$prefix}--data-table--sort th .#{$prefix}--table-sort__flex {
display: flex;
align-items: center;
justify-content: space-between;
width: 100%;
height: 100%;
min-height: 3rem;
}
Expand Down Expand Up @@ -111,7 +113,7 @@
.#{$prefix}--table-sort__icon-unsorted {
width: rem(20px);
min-width: $layout-01;
margin-right: $spacing-05;
margin-right: $spacing-03;
margin-left: $spacing-03;
opacity: 0;
fill: $ui-05;
Expand Down Expand Up @@ -140,7 +142,7 @@
.#{$prefix}--table-sort__icon {
width: rem(20px);
min-width: $layout-01;
margin-right: $spacing-05;
margin-right: $spacing-03;
margin-left: $spacing-03;
transform: rotate(0);
opacity: 1;
Expand Down

0 comments on commit ee6075d

Please sign in to comment.