Skip to content

Commit cce4d44

Browse files
authored
docs(material/tooltip): update MDC changes (#25718)
* docs(material/tooltip): update MDC changes * docs(material/tooltip): remove font-size * docs(material/tooltip): fix font-size * docs(material/tooltip): fix wording
1 parent 5ecd74c commit cce4d44

File tree

1 file changed

+6
-7
lines changed

1 file changed

+6
-7
lines changed

guides/v15-mdc-migration.md

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -589,15 +589,14 @@ TODO(mmalerba): link to density docs once they exist.
589589

590590
### Tooltip
591591

592-
* Accessibility: the background color is now completely opaque, preventing text bleed-through.
592+
* Background color is opaque instead of slightly transparent. This improves accessibility.
593593

594-
* The default font-size has changed from `10px` to `12px`.
594+
* Default font-size is `12px` instead of `10px`.
595595

596-
* The line height has changed from `normal` to `16px`.
596+
* Line height is `normal` instead of `16px`.
597597

598-
* Text overflow has changed from `ellipsis` to `clip`.
598+
* Text overflow is `ellipsis` instead of `clip`.
599599

600-
* The tooltip now has a min-width of 40px.
600+
* There is a new minimum width of `40px`.
601601

602-
* The text alignment for single line tooltips is now `center` and changes to `left` for multiline
603-
tooltips.
602+
* Text alignment for single line tooltips is `center`. Multi-line tooltips use `left` alignment.

0 commit comments

Comments
 (0)