fix style

This commit is contained in:
chiu 2021-08-31 16:33:30 +08:00
parent 61b21dfc43
commit a094580709
2 changed files with 4 additions and 0 deletions

View File

@ -427,6 +427,7 @@
.modules-menu .modules-menu-level-0 > li:hover .modules-menu-level-1{
@media (min-width: $screen-sm){
visibility: visible;
max-height: none;
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;

View File

@ -180,11 +180,14 @@
left:0;
display: flex;
visibility: hidden;
position: fixed!important;
opacity: 0;
width: 100vw;
box-shadow: 2px 2px 5px #00000033;
margin: 0.8em 0;
padding: 0;
max-height: 0;
overflow: hidden;
transition-duration: 0.5s;
}