Skip to content

Commit

Permalink
docs(material/form-field): updated documentation (#20355)
Browse files Browse the repository at this point in the history
* docs(material/form-field): updated documentation

Fixed documentation to clarify that text prefix and suffixes work on legacy and standard appearance and not to use text prefix and suffixes on fill and outline.

Fixes #

* docs(material/form-field): updated documentation

replaced quotes for back ticks

Fixes #
  • Loading branch information
DuncanFaulkner committed Aug 20, 2020
1 parent bbf75f3 commit ac2d385
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
Binary file added src/material/form-field/.form-field.md.swp
Binary file not shown.
2 changes: 1 addition & 1 deletion src/material/form-field/form-field.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ There are a couple differences to be aware of between the `legacy` appearance an
`standard`, `fill`, and `outline` appearances. The `matPrefix` and `matSuffix` elements are center
aligned by default for the newer appearances. The Material Design spec shows this as being the
standard way to align prefix and suffix icons in the newer appearance variants. We do not recommend
using text prefix and suffixes in the new variants because the label and input do not have the same
using text prefix and suffixes in the `fill` and `outline` variants because the label and input do not have the same
alignment. It is therefore impossible to align the prefix or suffix in a way that looks good when
compared with both the label and input text.

Expand Down

0 comments on commit ac2d385

Please sign in to comment.