wip: 临时提交

This commit is contained in:
Ray.Hao
2025-05-26 23:50:37 +08:00
parent dfb9a735d6
commit 969fcfbb59
3 changed files with 2 additions and 5 deletions

View File

@@ -42,12 +42,12 @@ const iconComponent = computed(() => props.icon?.replace("el-icon-", ""));
.el-sub-menu,
.el-menu-item {
.el-icon {
margin: 0 10px;
margin: 0 auto;
}
}
[class^="i-svg:"] {
margin: 0 10px;
margin: 0 auto;
}
}
</style>

View File

@@ -127,7 +127,6 @@ console.log("🎨 MixLayout rendered");
&-content {
display: flex;
align-items: center;
min-width: 768px;
height: 100%;
padding: 0;
}

View File

@@ -57,7 +57,6 @@ const isLogoCollapsed = computed(() => width.value < 768);
align-items: center;
justify-content: space-between;
width: 100%;
min-width: 768px; // 设置最小宽度,防止过度压缩
height: $navbar-height;
background-color: $menu-background;
box-shadow: 0 1px 4px rgba(0, 21, 41, 0.08);
@@ -181,7 +180,6 @@ const isLogoCollapsed = computed(() => width.value < 768);
@media (max-width: 767px) {
.layout {
&__header {
min-width: 600px; // 小屏设备的最小宽度
padding: 0 4px;
}
}