Skip to content

Commit 664593a

Browse files
crisbetojelbourn
authored andcommitted
build: fix dev app fullscreen styles (#15061)
Fixes not being able to debug fullscreen behavior properly in the dev app, because the fullscreen element uses a black background and isn't scrolling.
1 parent 1db449d commit 664593a

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

src/dev-app/dev-app.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ <h1>Angular Material Demos</h1>
4545
</div>
4646
</mat-toolbar>
4747

48-
<div #root="dir" dir="ltr" class="demo-content">
48+
<div #root="dir" dir="ltr" class="demo-content mat-app-background">
4949
<router-outlet></router-outlet>
5050
</div>
5151
</main>

src/dev-app/dev-app.scss

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,7 @@ body {
5454
width: 100%;
5555
height: 100%;
5656
box-sizing: border-box;
57+
overflow: auto;
5758
}
5859

5960
.demo-container {

0 commit comments

Comments
 (0)