Skip to content

Commit a2b3968

Browse files
authored
docs: fix grammar nits in mdc migration guide (#25793)
1 parent 3bb346b commit a2b3968

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

guides/v15-mdc-migration.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -150,8 +150,8 @@ DOM and CSS of the components, you may need to tweak some of your application's
150150
* Component size, color, spacing, shadows, and animations all change slightly across the board.
151151
These changes generally improve spec-compliance and accessibility.
152152

153-
* The DOM structure of components has changed to allow for improved accessibility and compliance
154-
with the Material Design spec.
153+
* The DOM structure for all components has changed to improve accessibility and better follow the
154+
Material Design spec.
155155

156156
* CSS classes applied to components use the `mat-mdc-` prefix, whereas before it was simply a `mat-`
157157
prefix. Elements that roughly correspond to element in the old implementation have been given the
@@ -273,7 +273,7 @@ DOM and CSS of the components, you may need to tweak some of your application's
273273

274274
* Focus state is slightly darker, improving contrast ratio.
275275

276-
* Text styles will not be inherited; you will need to specifically target the checkbox’s `label` to
276+
* Text styles are not inherited; you will need to specifically target the checkbox’s `label` to
277277
override typography properties.
278278

279279
* After toggling a checkbox with the mouse, the ripple will remain visible instead of animating out.
@@ -385,9 +385,9 @@ DOM and CSS of the components, you may need to tweak some of your application's
385385
</mat-list-item>
386386
```
387387

388-
* The amount of lines is automatically inferred. For example, in the snippet above the list item
389-
will acquire space for two lines. With the new API you can now set an explicit number of lines on
390-
the `<mat-list-item>` to activate wrapping.
388+
* The list automatically infers the number of lines of text content. For example, in the snippet
389+
above, the list item renders space for two lines. With the new API, you can set an explicit number
390+
of lines on the `<mat-list-item>` to manually control wrapping.
391391

392392
```html
393393
<mat-list-item lines="3">

0 commit comments

Comments
 (0)