From cdeee6740d73c0886300db92a03a8794b0898d67 Mon Sep 17 00:00:00 2001 From: Roman Hotsiy Date: Sun, 23 Apr 2017 16:10:32 +0300 Subject: [PATCH] feat: add perfect-scrollbar for side menu --- lib/components/Redoc/redoc.scss | 2 +- lib/components/SideMenu/side-menu.html | 2 +- lib/components/SideMenu/side-menu.scss | 10 ++++- lib/components/SideMenu/side-menu.ts | 14 +++++-- .../PerfectScrollbar/perfect-scrollbar.ts | 37 +++++++++++++++++++ lib/shared/components/index.ts | 5 ++- 6 files changed, 62 insertions(+), 8 deletions(-) create mode 100644 lib/shared/components/PerfectScrollbar/perfect-scrollbar.ts diff --git a/lib/components/Redoc/redoc.scss b/lib/components/Redoc/redoc.scss index be398b83..38c6b3f3 100644 --- a/lib/components/Redoc/redoc.scss +++ b/lib/components/Redoc/redoc.scss @@ -45,7 +45,7 @@ } side-menu { - overflow-y: auto; + overflow: hidden; } [sticky-sidebar] { diff --git a/lib/components/SideMenu/side-menu.html b/lib/components/SideMenu/side-menu.html index 25fc0940..301cd443 100644 --- a/lib/components/SideMenu/side-menu.html +++ b/lib/components/SideMenu/side-menu.html @@ -8,7 +8,7 @@ -
+