Skip to content

Commit 4fbde10

Browse files
crisbetojelbourn
authored andcommitted
fix(stepper): horizontal stepper cutting off bottom part of content (#10644)
Fixes the horizontal stepper cutting off the bottom part of its content due to it having `overflow: hidden`. These changes scope the `overflow` only to when the stepper is collapsed. Fixes #10634.
1 parent 306b704 commit 4fbde10

File tree

1 file changed

+2
-5
lines changed

1 file changed

+2
-5
lines changed

src/lib/stepper/stepper.scss

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -63,12 +63,9 @@ $mat-stepper-line-gap: 8px !default;
6363
}
6464
}
6565

66-
.mat-horizontal-stepper-content {
66+
.mat-horizontal-stepper-content[aria-expanded='false'] {
67+
height: 0;
6768
overflow: hidden;
68-
69-
&[aria-expanded='false'] {
70-
height: 0;
71-
}
7269
}
7370

7471
.mat-horizontal-content-container {

0 commit comments

Comments
 (0)