修复手机下菜单太宽的问题

This commit is contained in:
刘祥超
2024-03-25 11:47:21 +08:00
parent f7941c2251
commit e45361d9d3
3 changed files with 8 additions and 2 deletions

View File

@@ -296,6 +296,9 @@ p.margin {
padding: 0; padding: 0;
} }
@media screen and (max-width: 512px) { @media screen and (max-width: 512px) {
.main-menu {
width: auto !important;
}
.main-menu .ui.menu { .main-menu .ui.menu {
width: 3.6em !important; width: 3.6em !important;
} }

File diff suppressed because one or more lines are too long

View File

@@ -148,6 +148,10 @@ div.margin, p.margin {
} }
@media screen and (max-width: 512px) { @media screen and (max-width: 512px) {
.main-menu {
width: auto !important;
}
.main-menu .ui.menu { .main-menu .ui.menu {
width: 3.6em !important; width: 3.6em !important;
@@ -174,7 +178,6 @@ div.margin, p.margin {
.ui.menu { .ui.menu {
padding-bottom: 3em; padding-bottom: 3em;
.item { .item {
.subtitle { .subtitle {
display: none; display: none;