Skip to content

Commit

Permalink
fix(tabs): --md-elevation-level no longer leaks into tabs
Browse files Browse the repository at this point in the history
Fixes #5137

PiperOrigin-RevId: 591357826
  • Loading branch information
asyncLiz authored and copybara-github committed Dec 15, 2023
1 parent 80edf15 commit ddf1fb0
Showing 1 changed file with 7 additions and 5 deletions.
12 changes: 7 additions & 5 deletions tabs/internal/_tab.scss
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,13 @@
pressed-opacity: var(--_pressed-state-layer-opacity),
)
);

// b/316459034 - elevation should be removed
@include elevation.theme(
(
level: var(--_container-elevation),
)
);
}

md-focus-ring {
Expand Down Expand Up @@ -139,11 +146,6 @@
}
:host([active]) {
color: var(--_active-label-text-color);
@include elevation.theme(
(
level: var(--_container-elevation),
)
);

@include ripple.theme(
(
Expand Down

0 comments on commit ddf1fb0

Please sign in to comment.