Skip to content

Commit

Permalink
fix: use fill-opacity to display the sorting arrows correctly
Browse files Browse the repository at this point in the history
  • Loading branch information
smeligrana authored Feb 12, 2024
1 parent 5d77e80 commit 3516dae
Showing 1 changed file with 16 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@

.it-sort-arrow {
opacity: 0 !important;
fill-opacity: 0 !important;
}
}

Expand All @@ -33,23 +34,32 @@

.it-sort-arrow {
opacity: 0;
transition: opacity .3s ease-out;
-moz-transition: opacity .3s ease-out;
-webkit-transition: opacity .3s ease-out;
-o-transition: opacity .3s ease-out;
fill-opacity: 0;
transition:
fill-opacity 0.3s ease-out,
opacity 0.3s ease-out;
-moz-transition:
fill-opacity 0.3s ease-out,
opacity 0.3s ease-out;
-webkit-transition:
fill-opacity 0.3s ease-out,
opacity 0.3s ease-out;
-o-transition:
fill-opacity 0.3s ease-out,
opacity 0.3s ease-out;
}

&:hover {
.it-sort-arrow {
opacity: 0.5;
fill-opacity: 0.5;
}
}

&.it-sort-header-sorted {
.it-sort-arrow {
opacity: 1 !important;
fill-opacity: 1 !important;
}
}
}


0 comments on commit 3516dae

Please sign in to comment.