From b3f9df550f8b92aa67e423462b1130ae83d27d42 Mon Sep 17 00:00:00 2001 From: rulingcom Date: Tue, 7 Dec 2021 06:05:43 +0000 Subject: [PATCH] fix error --- assets/stylesheets/template/layout/header.scss | 12 +++++++++--- assets/stylesheets/template/modules/menu.scss | 4 ++-- 2 files changed, 11 insertions(+), 5 deletions(-) diff --git a/assets/stylesheets/template/layout/header.scss b/assets/stylesheets/template/layout/header.scss index d6f0207..b96f410 100644 --- a/assets/stylesheets/template/layout/header.scss +++ b/assets/stylesheets/template/layout/header.scss @@ -442,10 +442,16 @@ a#content{ @media (min-width: $screen-sm){ visibility: visible; max-height: 65%; - overflow-y: scroll; - opacity: 1; - padding:1em 20% 3em; + verflow-y: scroll; + border-radius: 0.5em; + opacity: 1; + padding:1em 5% 3em; transition-duration: opacity 0.3s cubic-bezier(0.48, 0.01, 0.5, 0.99),visibility 0.1s linear; + &::-webkit-scrollbar { + display: none; + } + -ms-overflow-style: none; /* IE and Edge */ + scrollbar-width: none; /* Firefox */ } } .navbar-header .navbar-brand{ diff --git a/assets/stylesheets/template/modules/menu.scss b/assets/stylesheets/template/modules/menu.scss index da9e86a..dd92931 100644 --- a/assets/stylesheets/template/modules/menu.scss +++ b/assets/stylesheets/template/modules/menu.scss @@ -185,7 +185,7 @@ position: fixed!important; opacity: 0; width: 80vw; - box-shadow: 2px 2px 5px #00000033; + box-shadow: 2px 2px 10px #000000ab; margin: 0.8em 0; padding: 0; max-height: 0; @@ -374,7 +374,7 @@ } .mobile-menu .collapse.navbar-collapse.modules-menu { - overflow-y: scroll; + //overflow-y: scroll; transform: translateX(0%); } .display-on{