Skip to content

Commit

Permalink
fix(data-table): Fixed default feature targeting query params of sort…
Browse files Browse the repository at this point in the history
… mixins

PiperOrigin-RevId: 304292046
  • Loading branch information
abhiomkar authored and copybara-github committed Apr 2, 2020
1 parent 0a86b7c commit e33c49e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/mdc-data-table/_mixins.scss
Original file line number Diff line number Diff line change
Expand Up @@ -234,7 +234,7 @@
/// Sets the color of sort icon button when it is in idle state.
/// (icon showed on header cell focus)
/// @param {String} $color - Color of sort icon button
@mixin sort-icon-color($color, $query: mdc-feature-all()) {
@mixin sort-icon-color($color, $query: feature-targeting-functions.all()) {
$feat-color: feature-targeting-functions.create-target($query, color);

.mdc-data-table__sort-icon-button {
Expand All @@ -244,7 +244,7 @@

/// Sets the color of sort icon button when it is activated (sorted).
/// @param {String} $color - Color of sort icon button
@mixin sort-icon-active-color($color, $query: mdc-feature-all()) {
@mixin sort-icon-active-color($color, $query: feature-targeting-functions.all()) {
$feat-color: feature-targeting-functions.create-target($query, color);

.mdc-data-table__header-cell--sorted .mdc-data-table__sort-icon-button {
Expand Down

0 comments on commit e33c49e

Please sign in to comment.