From d94629dbb6a3d923444c9d189e9fce8f61743c8d Mon Sep 17 00:00:00 2001 From: Sayri Suarez Date: Mon, 16 Oct 2023 12:50:50 -0700 Subject: [PATCH] feat(tooltip): rich tooltip max-height is configurable via theme API. PiperOrigin-RevId: 573900279 --- packages/mdc-tooltip/_rich-tooltip-theme.scss | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/packages/mdc-tooltip/_rich-tooltip-theme.scss b/packages/mdc-tooltip/_rich-tooltip-theme.scss index fdc370f7852..bccefc3d03e 100644 --- a/packages/mdc-tooltip/_rich-tooltip-theme.scss +++ b/packages/mdc-tooltip/_rich-tooltip-theme.scss @@ -54,6 +54,7 @@ $light-theme: ( action-pressed-state-layer-opacity: null, container-color: null, container-elevation: null, + container-max-height: null, container-shadow-color: null, container-shape: null, container-surface-tint-layer-color: null, @@ -145,6 +146,10 @@ $light-theme: ( ) ); } + + @include tooltip-theme.rich-max-height( + map.get($theme, 'container-max-height') + ); } @mixin _container-elevation($elevation-resolver, $theme) {