#### Bug: Form-Field-Outline-Label-Gap does not reposition correctly when it is opened in a dialog and the Form-Field has a prefix <img width="392" alt="screenshot 2018-10-23 at 11 30 50 am" src="https://user-images.githubusercontent.com/17495353/47357899-a4614f00-d6b7-11e8-97c8-fb5953754e32.png"> #### What is the expected behavior? The Form-Field-Outline-Label-Gap should be positioned correctly with or without a prefix. #### What is the current behavior? The Form-Field-Outline-Label-Gap does not reposition itself away from the form field prefix like the label does when it is opened in a dialog. #### What are the steps to reproduce? https://stackblitz.com/edit/form-field-outline-label-gap-position-error-in-dialog-701 #### What is the use-case or motivation for changing an existing behavior? (not applicable) #### Which versions of Angular, Material, OS, TypeScript, browsers are affected? Angular 7.0.0 Angular Material 7.0.1 Chrome 69, Safari 12.0 #### Is there anything else we should know? This seems related to #12782