From 61b21dfc438b26329207788e265e20d36d19beb0 Mon Sep 17 00:00:00 2001 From: chiu Date: Tue, 31 Aug 2021 16:20:17 +0800 Subject: [PATCH] fix error --- assets/stylesheets/template/layout/content.scss | 8 -------- assets/stylesheets/template/layout/header.scss | 1 + 2 files changed, 1 insertion(+), 8 deletions(-) diff --git a/assets/stylesheets/template/layout/content.scss b/assets/stylesheets/template/layout/content.scss index 2bfd61d..49ccac8 100644 --- a/assets/stylesheets/template/layout/content.scss +++ b/assets/stylesheets/template/layout/content.scss @@ -541,14 +541,6 @@ .navbar-toggle .icon-bar{ background-color: #333; } - .modules-menu .modules-menu-level-0 > li:hover .modules-menu-level-1{ - @media (min-width: $screen-sm){ - visibility: visible; - opacity: 1; - padding:1em 20% 3em; - transition-duration: opacity 0.3s cubic-bezier(0.48, 0.01, 0.5, 0.99),visibility 0.1s linear; - } - } .navbar-header .navbar-brand{ @media(max-width: 769px){ display: block!important; diff --git a/assets/stylesheets/template/layout/header.scss b/assets/stylesheets/template/layout/header.scss index 1af0cdd..1afd5c1 100644 --- a/assets/stylesheets/template/layout/header.scss +++ b/assets/stylesheets/template/layout/header.scss @@ -428,6 +428,7 @@ @media (min-width: $screen-sm){ visibility: visible; opacity: 1; + padding:1em 20% 3em; transition-duration: opacity 0.3s cubic-bezier(0.48, 0.01, 0.5, 0.99),visibility 0.1s linear; } }