Skip to content
This repository was archived by the owner on Jan 13, 2025. It is now read-only.

Commit eaeb78c

Browse files
Shi Shucopybara-github
authored andcommitted
style(tooltip): Add styling to left align items in the rich tooltips.
PiperOrigin-RevId: 345461997
1 parent 4ea1b7c commit eaeb78c

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

packages/mdc-tooltip/_tooltip.scss

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -129,6 +129,14 @@ $exit-duration: 75ms;
129129
outline: 1px solid transparent;
130130
}
131131

132+
.mdc-tooltip--rich & {
133+
@include feature-targeting.targets($feat-structure) {
134+
display: flex;
135+
flex-direction: column;
136+
align-items: flex-start;
137+
}
138+
}
139+
132140
.mdc-tooltip--multiline & {
133141
@include feature-targeting.targets($feat-structure) {
134142
/* @noflip */

0 commit comments

Comments
 (0)