From 8171fe3782a481e5bd78c1da530a13a24885b53b Mon Sep 17 00:00:00 2001 From: danieldeng2 <danieldeng223@gmail.com> Date: Tue, 11 Aug 2020 01:14:16 +0100 Subject: [PATCH] Always shows scroll bar --- frontend/src/components/App.scss | 3 ++- frontend/src/components/pages/ModuleResources/index.tsx | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/frontend/src/components/App.scss b/frontend/src/components/App.scss index 52bc84f53..7e6491149 100644 --- a/frontend/src/components/App.scss +++ b/frontend/src/components/App.scss @@ -6,7 +6,8 @@ body { font-family: "IBM Plex Sans", sans-serif !important; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; - -webkit-overflow-scrolling: touch; + -webkit-overflow-scrolling: touch; + overflow-y: scroll; } code { diff --git a/frontend/src/components/pages/ModuleResources/index.tsx b/frontend/src/components/pages/ModuleResources/index.tsx index 06fd37835..5fc8c0509 100644 --- a/frontend/src/components/pages/ModuleResources/index.tsx +++ b/frontend/src/components/pages/ModuleResources/index.tsx @@ -47,7 +47,7 @@ const ModuleResources: React.FC = () => { styles.quickAccessRow )} > - {[...Array(6)].map((e, i) => ( + {[...Array(4)].map((e, i) => ( <Col xs={7} sm={7} -- GitLab