diff --git a/src/demo-app/stepper/stepper-demo.html b/src/demo-app/stepper/stepper-demo.html index dbbc6b501ed1..d7636d14e9bb 100644 --- a/src/demo-app/stepper/stepper-demo.html +++ b/src/demo-app/stepper/stepper-demo.html @@ -64,7 +64,7 @@

Linear Horizontal Stepper Demo using a different form for each step

- Fill out your phone number + Fill out your email address The input is invalid @@ -139,10 +139,9 @@

Vertical Stepper Demo

-

Horizontal Stepper Demo

+

Horizontal Stepper Demo with Text Label

- - Fill out your name + @@ -155,8 +154,7 @@

Horizontal Stepper Demo

- - Fill out your phone number + @@ -166,8 +164,7 @@

Horizontal Stepper Demo

- - Fill out your address + @@ -177,8 +174,7 @@

Horizontal Stepper Demo

- - Confirm your information + Everything seems correct.
@@ -186,19 +182,6 @@

Horizontal Stepper Demo

-

Horizontal Stepper Demo

- - - - - -
- - -
-
-
-

Horizontal Stepper Demo with Templated Label

diff --git a/src/lib/stepper/step-header.scss b/src/lib/stepper/step-header.scss index 94496b4adcfc..9313a57e4a48 100644 --- a/src/lib/stepper/step-header.scss +++ b/src/lib/stepper/step-header.scss @@ -6,10 +6,6 @@ $mat-stepper-line-gap: 8px !default; $mat-step-optional-font-size: 12px; $mat-step-header-icon-size: 16px !default; -:host { - display: flex; -} - .mat-step-optional { font-size: $mat-step-optional-font-size; } diff --git a/src/lib/stepper/stepper.scss b/src/lib/stepper/stepper.scss index 8f443c1f5d63..5bb4caae5f6a 100644 --- a/src/lib/stepper/stepper.scss +++ b/src/lib/stepper/stepper.scss @@ -7,7 +7,8 @@ $mat-vertical-stepper-content-margin: 36px !default; $mat-stepper-line-width: 1px !default; $mat-stepper-line-gap: 8px !default; -:host { +.mat-stepper-vertical, +.mat-stepper-horizontal { display: block; }