diff --git a/src/theme/book.css b/src/theme/book.css index 28e9278f..dd9d8e7f 100644 --- a/src/theme/book.css +++ b/src/theme/book.css @@ -71,6 +71,7 @@ table thead td { -moz-box-sizing: border-box; box-sizing: border-box; -webkit-overflow-scrolling: touch; + overscroll-behavior-y: contain; -webkit-transition: -webkit-transform 0.5s; -moz-transition: -moz-transform 0.5s; -o-transition: -o-transform 0.5s; diff --git a/src/theme/stylus/sidebar.styl b/src/theme/stylus/sidebar.styl index 7dd39c0a..7faba9d9 100644 --- a/src/theme/stylus/sidebar.styl +++ b/src/theme/stylus/sidebar.styl @@ -11,6 +11,7 @@ font-size: 0.875em box-sizing: border-box -webkit-overflow-scrolling: touch + overscroll-behavior-y: contain; // Animation: slide away transition: transform 0.5s