mirror of
https://github.com/material-components/material-web.git
synced 2024-08-17 09:30:27 +03:00
fix(tabs): --md-elevation-level
no longer leaks into tabs
Fixes #5137 PiperOrigin-RevId: 591357826
This commit is contained in:
parent
80edf15920
commit
ddf1fb0c61
@ -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(
|
||||
(
|
||||
|
Loading…
Reference in New Issue
Block a user