From ddf1fb0c613e43d26735832b9fdb1efcf2969949 Mon Sep 17 00:00:00 2001 From: Elizabeth Mitchell Date: Fri, 15 Dec 2023 14:18:33 -0800 Subject: [PATCH] fix(tabs): `--md-elevation-level` no longer leaks into tabs Fixes #5137 PiperOrigin-RevId: 591357826 --- tabs/internal/_tab.scss | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/tabs/internal/_tab.scss b/tabs/internal/_tab.scss index 82dcb52fb..50493d823 100644 --- a/tabs/internal/_tab.scss +++ b/tabs/internal/_tab.scss @@ -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 { @@ -139,11 +146,6 @@ } :host([active]) { color: var(--_active-label-text-color); - @include elevation.theme( - ( - level: var(--_container-elevation), - ) - ); @include ripple.theme( (