Skip to content

Commit 5300828

Browse files
committed
Fix safari rubber band issue
1 parent 1dffbb3 commit 5300828

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

src/app/app.component.scss

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,10 @@
1313
height: 100%;
1414
}
1515

16+
.mat-sidenav-content {
17+
overscroll-behavior: none;
18+
}
19+
1620
.sidenav {
1721
width: 256px;
1822
}

src/styles.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -235,11 +235,11 @@
235235

236236
html, body {
237237
height: 100%;
238+
overscroll-behavior: none;
238239
}
239240
body {
240241
margin: 0;
241242
font-family: Roboto, "Helvetica Neue", sans-serif;
242-
overscroll-behavior: none;
243243
}
244244

245245
// --------------------------------------------------------------------------------

0 commit comments

Comments
 (0)