移动端菜单样式修改

This commit is contained in:
Skywt2003 2021-10-25 22:32:54 +08:00
parent 4a721b6383
commit b743bc20e1
2 changed files with 10 additions and 42 deletions

View File

@ -19717,6 +19717,13 @@ textarea[resize="horizontal"] {
} }
.navbar-collapse { .navbar-collapse {
width: calc(100% - 1.4rem);
margin-left: 50px;
}
/* 很不喜欢这个 float 式的 navbar 样式!!不过暂时还没搞清楚什么原理。改掉了先。 */
/* .navbar-collapse {
width: calc(100% - 1.4rem); width: calc(100% - 1.4rem);
position: absolute; position: absolute;
top: 0; top: 0;
@ -19782,10 +19789,10 @@ textarea[resize="horizontal"] {
.navbar-collapse.collapsing-out { .navbar-collapse.collapsing-out {
animation: hide-navbar-collapse .2s ease forwards; animation: hide-navbar-collapse .2s ease forwards;
} } */
} }
@keyframes show-navbar-collapse { /* @keyframes show-navbar-collapse {
0% { 0% {
opacity: 0; opacity: 0;
transform: scale(0.95); transform: scale(0.95);
@ -19809,7 +19816,7 @@ textarea[resize="horizontal"] {
opacity: 0; opacity: 0;
transform: scale(0.95); transform: scale(0.95);
} }
} } */
@keyframes show-navbar-dropdown { @keyframes show-navbar-dropdown {
0% { 0% {

File diff suppressed because one or more lines are too long