Skip to content

Commit

Permalink
fix: used fill-opacity along with opacity to display the sorting arro…
Browse files Browse the repository at this point in the history
…ws correctly
  • Loading branch information
smeligrana committed Feb 10, 2024
1 parent 89ea5fd commit 4d852ad
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 4d852ad

Please sign in to comment.